Google vs Grammarly Interview Questions

Google lists 2,305 LeetCode interview questions while Grammarly lists 30. They share 28 problems — 1% of Google's bank and 93% of Grammarly's. Focus on the overlap first, then drill into 2,277 Google-only and 2 Grammarly-only questions.

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
Grammarly

30 questions

Easy 7Medium 19Hard 4

Preparation Strategy

Step 1 — Shared core: Solve the 28 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Google and Grammarly.

Step 2 — Company-specific depth: Add Google-specific problems like Two Sum, Add Two Numbers, Median of Two Sorted Arrays and Grammarly-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Google skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Google
601
Grammarly
7
Medium
Google
1205
Grammarly
19
Hard
Google
499
Grammarly
4

Top Shared Topics

28 Shared Questions

High-priority problems to practice for both Google and Grammarly.

ProblemDifficulty
Trapping Rain WaterHard
Merge IntervalsMedium
Number of IslandsMedium
Climbing StairsEasy
Generate ParenthesesMedium
Search in Rotated Sorted ArrayMedium
Search Insert PositionEasy
Logger Rate LimiterEasy
Sqrt(x)Easy
Unique PathsMedium
Insert Delete GetRandom O(1)Medium
Word BreakMedium
Word SearchMedium
Evaluate Reverse Polish NotationMedium
Implement Trie (Prefix Tree)Medium
Word Break IIHard
Non-overlapping IntervalsMedium
Remove All Adjacent Duplicates In StringEasy
Check If a String Contains All Binary Codes of Size KMedium
Two Best Non-Overlapping EventsMedium
Repeated DNA SequencesMedium
Perfect NumberEasy
Special Binary StringHard
Recover a Tree From Preorder TraversalHard
Sum of Left LeavesEasy
Remove All Adjacent Duplicates in String IIMedium
Vowel SpellcheckerMedium
Decode the Slanted CiphertextMedium

Unique to Google (2,277)

Problems in Google's list that do not appear at Grammarly.

ProblemDifficulty
Two SumEasy
Add Two NumbersMedium
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
3SumMedium
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Longest Palindromic SubstringMedium

Unique to Grammarly (2)

Problems in Grammarly's list that do not appear at Google.

ProblemDifficulty
Minimum Substring Partition of Equal Character FrequencyMedium
Maximum Palindromes After OperationsMedium

Frequently Asked Questions

How many LeetCode questions do Google and Grammarly share?

Google and Grammarly share 28 LeetCode interview questions. 2277 problems appear only in Google's list and 2 appear only in Grammarly's list.

What topics overlap most between Google and Grammarly?

The most common shared topics between Google and Grammarly are Array (13 shared questions), String (13 shared questions), Dynamic Programming (8 shared questions), Hash Table (8 shared questions), Math (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Google or Grammarly?

Google has 601 Easy, 1205 Medium, and 499 Hard questions. Grammarly has 7 Easy, 19 Medium, and 4 Hard questions. Google has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Google and Grammarly?

Start with the 28 shared problems since they cover what both companies ask most often. Then add 20 Google-specific and 2 Grammarly-specific questions to round out your prep.

Explore More