Grammarly Interview Prep (SWE / Senior)
Grammarly runs a long loop with an unusual amount of behavioural weight. There are two separate hour-long values interviews on the EAGER framework, and one of them is deliberately conducted by someone from an unrelated part of the company, walking company by company through your resume.
The technical side has its own distinctive round. Product intuition is adjacent to the actual product: candidates report being shown an email with the product’s suggestions highlighted and asked how they would improve it, then given a coding problem in the same session.
One correction worth making, because third-party guides get it wrong: there is no take-home. The project round is a live presentation of something you led, with architecture diagrams, to the hiring manager.
Interview Process
| Stage | Duration | Focus |
|---|---|---|
| Recruiter Call | 30 min | Unusually STAR-heavy for a screen. Compensation |
| Technical Phone Screen | 1 hr | HackerRank. Around LeetCode medium |
| Hiring Manager Screen | 1 hr | Present a complex project you led, with architecture diagrams |
| Onsite | ~5.5 hrs | Often split across days. Product intuition, system design, coding and fundamentals |
| Coffee Chat | 30 min | Two future teammates |
| Values Round 1 and 2 | 1 hr each | EAGER. One interviewer from outside your org, one the hiring manager |
The technical phone screen and the system design round are where candidates are reported to fall out. Notably, the design round can be re-run after the onsite if it went badly, so one weak design hour is not automatically fatal.
The panel writes up independently and then reaches consensus, with the hiring manager breaking ties.
Machine learning tracks add an ML coding round and an ML system design round. A referral is reported to carry unusual weight here.
What Grammarly Actually Tests
Derived from 30 reported Grammarly-tagged problems. Difficulty mix:
| Difficulty | Count | Share |
|---|---|---|
| Easy | 7 | 23% |
| Medium | 19 | 63% |
| Hard | 4 | 13% |
The list skews Easy and Medium. Speed and clean code matter more here than exotic algorithms.
Where those problems fall by pattern:
| Rank | Pattern | Problems | Share of list |
|---|---|---|---|
| 1 | Dynamic Programming | 7 | 23% |
| 2 | Tries & String Search | 4 | 13% |
| 3 | Intervals, Greedy & Sorting | 3 | 10% |
| 4 | Stack & Monotonic Stack | 3 | 10% |
| 5 | Binary Search | 3 | 10% |
| 6 | Design (Coding) | 2 | 7% |
| 7 | Strings | 2 | 7% |
| 8 | Trees | 2 | 7% |
| 9 | Graphs | 2 | 7% |
| 10 | Arrays & Hashing | 1 | 3% |
Grammarly Signature Problems
These rank high on Grammarly’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.
| # | Problem | Pattern | Difficulty | Also asked at | Link |
|---|---|---|---|---|---|
| 1 | Vowel Spellchecker | Hash Table + String | Medium | 6 of 142 | LeetCode → |
| 2 | Remove All Adjacent Duplicates in String II | Stack | Medium | 14 of 142 | Solve → |
| 3 | Insert Delete GetRandom O(1) | Randomized + Design | Medium | 30 of 142 | LeetCode → |
| 4 | Search in Rotated Sorted Array | Binary Search | Medium | 42 of 142 | Solve → |
| 5 | Sum of Left Leaves | Binary Tree + BFS | Easy | 6 of 142 | Solve → |
| 6 | Two Best Non-Overlapping Events | Heap + Binary Search | Medium | 7 of 142 | LeetCode → |
| 7 | Repeated DNA Sequences | Boyer–Moore String-Search Algorithm + Z Algorithm | Medium | 7 of 142 | LeetCode → |
| 8 | Non-overlapping Intervals | Greedy + DP | Medium | 18 of 142 | Solve → |
| 9 | Generate Parentheses | Bracket Sequences + Backtracking | Medium | 31 of 142 | Solve → |
| 10 | Recover a Tree From Preorder Traversal | Binary Tree + DFS | Hard | 6 of 142 | LeetCode → |
| 11 | Evaluate Reverse Polish Notation | Stack | Medium | 15 of 142 | Solve → |
| 12 | Decode the Slanted Ciphertext | Simulation + String | Medium | 3 of 142 | LeetCode → |
| 13 | Minimum Substring Partition of Equal Character Frequency | DP | Medium | 3 of 142 | LeetCode → |
| 14 | Check If a String Contains All Binary Codes of Size K | Rolling Hash + DAG | Medium | 5 of 142 | LeetCode → |
If you are short on time, these carry more Grammarly-specific signal per hour than the universal top-100 lists.
Reported in the Last Six Months
The recency-filtered slice of Grammarly’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 1 | Non-overlapping Intervals | Greedy + DP | Medium | Solve → |
| 2 | Recover a Tree From Preorder Traversal | Binary Tree + DFS | Hard | LeetCode → |
| 3 | Search Insert Position | Binary Search | Easy | Solve → |
| 4 | Two Best Non-Overlapping Events | Heap + Binary Search | Medium | LeetCode → |
| 5 | Minimum Substring Partition of Equal Character Frequency | DP | Medium | LeetCode → |
| 6 | Insert Delete GetRandom O(1) | Randomized + Design | Medium | LeetCode → |
| 7 | Remove All Adjacent Duplicates In String | Stack | Easy | Solve → |
| 8 | Vowel Spellchecker | Hash Table + String | Medium | LeetCode → |
System Design (HLD) Problems Asked at Grammarly
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | ChatGPT-Style Assistant | Advanced | Read → |
| 2 | Collaborative Document Editor | Advanced | Read → |
| 3 | Search Autocomplete | Intermediate | Read → |
| 4 | Rate Limiter (API Quotas) | Beginner | Read → |
| 5 | Metrics and Monitoring | Intermediate | Read → |
| 6 | Message Queue | Intermediate | Read → |
| 7 | Distributed Cache | Advanced | Read → |
LLD / Machine Coding Problems Asked at Grammarly
The design round is reported as two-part: a small version first, then scaled. The emphasis is client-server communication, separation of concerns, data flow and extensibility, which is closer to these models than to a distributed systems diagram.
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | Multilevel Cache | Intermediate | Read → |
| 2 | Pub Sub System | Intermediate | Read → |
| 3 | Task Scheduler | Advanced | Read → |
| 4 | File System | Intermediate | Read → |
DSA Problems Asked at Grammarly
28 problems across 9 pattern groups. Each group is allocated in proportion to its real share of Grammarly’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.
Dynamic Programming
State definition is the whole battle. Say the recurrence out loud before you write the table. All 7 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 1 | Climbing Stairs | Memoization + DP | Easy | Solve → |
| 2 | Generate Parentheses | Bracket Sequences + Backtracking | Medium | Solve → |
| 3 | Non-overlapping Intervals | Greedy + DP | Medium | Solve → |
| 4 | Two Best Non-Overlapping Events | Heap + Binary Search | Medium | LeetCode → |
| 5 | Minimum Substring Partition of Equal Character Frequency | DP | Medium | LeetCode → |
| 6 | Trapping Rain Water | Monotonic Stack + Two Pointers | Hard | Solve → |
| 7 | Unique Paths | Combinatorics + DP | Medium | Solve → |
Tries & String Search
Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 4 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 8 | Repeated DNA Sequences | Boyer–Moore String-Search Algorithm + Z Algorithm | Medium | LeetCode → |
| 9 | Implement Trie (Prefix Tree) | Trie + Design | Medium | Solve → |
| 10 | Word Break | Brute-Force Search + Memoization | Medium | Solve → |
| 11 | Word Break II | Memoization + Trie | Hard | LeetCode → |
Binary Search
Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 12 | Search in Rotated Sorted Array | Binary Search | Medium | Solve → |
| 13 | Search Insert Position | Binary Search | Easy | Solve → |
| 14 | Sqrt(x) | Newton’s Method + Binary Search | Easy | Solve → |
Stack & Monotonic Stack
Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 15 | Remove All Adjacent Duplicates In String | Stack | Easy | Solve → |
| 16 | Remove All Adjacent Duplicates in String II | Stack | Medium | Solve → |
| 17 | Evaluate Reverse Polish Notation | Stack | Medium | Solve → |
Intervals, Greedy & Sorting
Sort, then make a local decision you can defend. Expect to justify why greedy is safe here. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 18 | Merge Intervals | Quicksort | Medium | Solve → |
| 19 | Maximum Palindromes After Operations | Greedy | Medium | Solve → |
| 20 | Special Binary String | Divide and Conquer | Hard | Solve → |
Graphs
Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 21 | Check If a String Contains All Binary Codes of Size K | Rolling Hash + DAG | Medium | LeetCode → |
| 22 | Number of Islands | Union-Find + BFS | Medium | Solve → |
Trees
Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 23 | Sum of Left Leaves | Binary Tree + BFS | Easy | Solve → |
| 24 | Recover a Tree From Preorder Traversal | Binary Tree + DFS | Hard | LeetCode → |
Design (Coding)
Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 25 | Insert Delete GetRandom O(1) | Randomized + Design | Medium | LeetCode → |
| 26 | Logger Rate Limiter | Data Stream + Design | Easy | Solve → |
Strings
Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 27 | Vowel Spellchecker | Hash Table + String | Medium | LeetCode → |
| 28 | Decode the Slanted Ciphertext | Simulation + String | Medium | LeetCode → |
Grammarly’s Favourite Patterns (Ranked)
| Rank | Pattern | Frequency | Problems on list | Start with |
|---|---|---|---|---|
| 1 | Dynamic Programming | Very High | 7 (23%) | Climbing Stairs, Generate Parentheses, Non-overlapping Intervals |
| 2 | Tries & String Search | High | 4 (13%) | Repeated DNA Sequences, Implement Trie (Prefix Tree), Word Break |
| 3 | Binary Search | High | 3 (10%) | Search in Rotated Sorted Array, Search Insert Position, Sqrt(x) |
| 4 | Stack & Monotonic Stack | Medium-High | 3 (10%) | Remove All Adjacent Duplicates In String, Remove All Adjacent Duplicates in String II, Evaluate Reverse Polish Notation |
| 5 | Intervals, Greedy & Sorting | Medium-High | 3 (10%) | Merge Intervals, Maximum Palindromes After Operations, Special Binary String |
| 6 | Graphs | Medium-High | 2 (7%) | Check If a String Contains All Binary Codes of Size K, Number of Islands |
| 7 | Trees | Medium | 2 (7%) | Sum of Left Leaves, Recover a Tree From Preorder Traversal |
| 8 | Design (Coding) | Medium | 2 (7%) | Insert Delete GetRandom O(1), Logger Rate Limiter |
| 9 | Strings | Medium | 2 (7%) | Vowel Spellchecker, Decode the Slanted Ciphertext |
How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Dynamic Programming, Tries & String Search, Binary Search covers the bulk of what Grammarly actually asks. The rest is insurance for the one round that goes somewhere unexpected.
EAGER Values Rounds
| # | Question |
|---|---|
| 1 | What would your manager say your strengths and weaknesses were? |
| 2 | What would you say your manager strengths and weaknesses were? |
| 3 | Tell me about a time you behaved ethically when it was costly. |
| 4 | Describe gritting through a project that stalled. |
| 5 | Tell me about adapting when requirements reversed. |
| 6 | Describe something you did that was remarkable rather than merely good. |
| 7 | Tell me about a time you showed empathy for a user you never met. |
EAGER stands for Ethical, Adaptable, Gritty, Empathetic and Remarkable. Two full hours are spent on it across two interviews, one with someone outside your organisation who will walk your resume company by company. The paired questions about your manager’s strengths and weaknesses are reported verbatim and are worth thinking about in advance, because the second one is easy to answer badly.
13-Day Prep Plan
Built from the pattern ranking above, so the heaviest topics get the most time.
| Day | Focus | Problems |
|---|---|---|
| 1 | Dynamic Programming (part 1) | Climbing Stairs, Generate Parentheses, Non-overlapping Intervals |
| 2 | Dynamic Programming (part 2) | Two Best Non-Overlapping Events, Minimum Substring Partition of Equal Character Frequency, Trapping Rain Water |
| 3 | Tries & String Search | Repeated DNA Sequences, Implement Trie (Prefix Tree), Word Break |
| 4 | Binary Search | Search in Rotated Sorted Array, Search Insert Position, Sqrt(x) |
| 5 | Stack & Monotonic Stack | Remove All Adjacent Duplicates In String, Remove All Adjacent Duplicates in String II, Evaluate Reverse Polish Notation |
| 6 | Intervals, Greedy & Sorting | Merge Intervals, Maximum Palindromes After Operations, Special Binary String |
| 7 | Graphs | Check If a String Contains All Binary Codes of Size K, Number of Islands |
| 8 | Trees | Sum of Left Leaves, Recover a Tree From Preorder Traversal |
| 9 | Design (Coding) | Insert Delete GetRandom O(1), Logger Rate Limiter |
| 10 | Strings | Vowel Spellchecker, Decode the Slanted Ciphertext |
| 11 | Mock round | Two problems in 45 minutes, timed, no hints. Simulate the real round. |
| 12 | Revision | Redo the problems you failed or needed a hint on. |
| 13 | Light review + rest | Re-read your pattern notes. Sleep early. |
Tips for Grammarly Interviews
- Prepare two hours of values material, not twenty minutes. Two separate rounds on EAGER, one with an interviewer who has no stake in your team. One concrete story per letter, with a cost attached.
- Build the project presentation properly, with diagrams. The hiring manager round is a live presentation of something complex you led. This is not a take-home, and arriving without a structure wastes the hour.
- Expect the product to be the interview material. Reported product-intuition rounds show you the product output and ask how to improve it. Use it before you interview and form opinions about where it is weak.
- Practice design in two passes. Reported structure is a small version first, then scaled. Client-server communication, separation of concerns, data flow and extensibility matter more here than shard counts.
- Treat the recruiter call as behavioural. It is reported as unusually STAR-heavy for a first conversation, so bring stories to it rather than just a résumé walkthrough.
- Get a referral if you can. Reports describe it carrying more weight here than at most companies, up to effectively guaranteeing a call back.
Other Company Prep
- OpenAI Interview Prep →
- Anthropic Interview Prep →
- Atlassian Interview Prep →
- Dropbox Interview Prep →
- All Company Guides →
- Back to Interview Guide →
Grammarly does not publish its interview loop. The round composition, the two values interviews and the design re-run are drawn from candidate reports and vary by track and level. Confirm with your recruiter.