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
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
Top Shared Topics
28 Shared Questions
High-priority problems to practice for both Google and Grammarly.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Merge Intervals | Medium |
| Number of Islands | Medium |
| Climbing Stairs | Easy |
| Generate Parentheses | Medium |
| Search in Rotated Sorted Array | Medium |
| Search Insert Position | Easy |
| Logger Rate Limiter | Easy |
| Sqrt(x) | Easy |
| Unique Paths | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Word Break | Medium |
| Word Search | Medium |
| Evaluate Reverse Polish Notation | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Word Break II | Hard |
| Non-overlapping Intervals | Medium |
| Remove All Adjacent Duplicates In String | Easy |
| Check If a String Contains All Binary Codes of Size K | Medium |
| Two Best Non-Overlapping Events | Medium |
| Repeated DNA Sequences | Medium |
| Perfect Number | Easy |
| Special Binary String | Hard |
| Recover a Tree From Preorder Traversal | Hard |
| Sum of Left Leaves | Easy |
| Remove All Adjacent Duplicates in String II | Medium |
| Vowel Spellchecker | Medium |
| Decode the Slanted Ciphertext | Medium |
Unique to Google (2,277)
Problems in Google's list that do not appear at Grammarly.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Add Two Numbers | Medium |
| Median of Two Sorted Arrays | Hard |
| Longest Common Prefix | Easy |
| Palindrome Number | Easy |
| Merge Sorted Array | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| 3Sum | Medium |
| Create Hello World Function | Easy |
| Merge Strings Alternately | Easy |
| Longest Palindromic Substring | Medium |
Unique to Grammarly (2)
Problems in Grammarly's list that do not appear at Google.
| Problem | Difficulty |
|---|---|
| Minimum Substring Partition of Equal Character Frequency | Medium |
| Maximum Palindromes After Operations | Medium |
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.