Grammarly Coding Interview Questions
16 coding problems are tagged as asked at Grammarly in interviews and online assessments reported by candidates. By difficulty they split into 6 basic, 7 intermediate and 3 advanced. The topics they most often combine with are String, Array, Sorting, Hash Table.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Grammarly tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Search Insert Position (Basic)
- Climbing Stairs (Basic)
- Trapping Rain Water (Advanced)
- Search in a Rotated Sorted Array (Advanced)
- Merge Intervals (Intermediate)
- Sum of Left Leaves (Basic)
- Number of Islands (Basic)
- Word Search (Intermediate)
- Evaluate Reverse Polish Notation (Intermediate)
- Perfect Number (Basic)
- Word Break II (Advanced)
- Implement Trie Operations (Intermediate)
- Logger Rate Limiter (Basic)
- Two Best Non-Overlapping Events (Intermediate)
- Repeated DNA Sequences (Intermediate)
- Remove All Adjacent Duplicates in String II (Intermediate)
Related
Frequently asked questions
How should I use the Grammarly problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Grammarly interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.