- Interview Questions
- /
- Grammarly
Grammarly LeetCode Interview Questions
Practice 45 real coding problems frequently asked in Grammarly technical interviews. Master these questions to ace your next Grammarly software engineering interview.
Top Topics at Grammarly
Ace your Grammarly interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
Grammarly Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Adding Spaces to a String 100% | MediumM | Solve→ |
Populating Next Right Pointers in Each Node 99% | MediumM | Solve→ |
IP to CIDR 85% | MediumM | Solve→ |
Construct String With Repeat Limit 82% | MediumM | Solve→ |
Valid Parentheses 82% | EasyE | Solve→ |
Reverse Nodes in k-Group 80% | HardH | Solve→ |
Minimum Area Rectangle 80% | MediumM | Solve→ |
Kth Smallest Element in a Sorted Matrix 76% | MediumM | Solve→ |
Kth Missing Positive Number 75% | EasyE | Solve→ |
Zero Array Transformation II 75% | MediumM | Solve→ |
Making A Large Island 74% | HardH | Solve→ |
Shortest Palindrome 72% | HardH | Solve→ |
Reverse Linked List 69% | EasyE | Solve→ |
Unique Paths 67% | MediumM | Solve→ |
Continuous Subarray Sum 66% | MediumM | Solve→ |
Valid Palindrome 65% | EasyE | Solve→ |
Longest Substring Without Repeating Characters 63% | MediumM | Solve→ |
Analyze User Website Visit Pattern 63% | MediumM | Solve→ |
Roman to Integer 63% | EasyE | Solve→ |
Maximum Product Subarray 55% | MediumM | Solve→ |
Diagonal Traverse 54% | MediumM | Solve→ |
Two Sum 54% | EasyE | Solve→ |
Open the Lock 53% | MediumM | Solve→ |
Sum Root to Leaf Numbers 50% | MediumM | Solve→ |
Design Snake Game 50% | MediumM | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Insert into a Sorted Circular Linked List 50% | MediumM | Solve→ |
K Inverse Pairs Array 49% | HardH | Solve→ |
Take Gifts From the Richest Pile 47% | EasyE | Solve→ |
Kth Smallest Element in a BST 46% | MediumM | Solve→ |
Two Sum II - Input Array Is Sorted 40% | MediumM | Solve→ |
Capacity To Ship Packages Within D Days 36% | MediumM | Solve→ |
Gas Station 33% | MediumM | Solve→ |
Binary Tree Maximum Path Sum 33% | HardH | Solve→ |
Find Score of an Array After Marking All Elements 32% | MediumM | Solve→ |
Combination Sum II 32% | MediumM | Solve→ |
Moving Average from Data Stream 31% | EasyE | Solve→ |
Minimum Remove to Make Valid Parentheses 29% | MediumM | Solve→ |
Flatten Binary Tree to Linked List 29% | MediumM | Solve→ |
Buildings With an Ocean View 29% | MediumM | Solve→ |
Rotting Oranges 29% | MediumM | Solve→ |
Check If N and Its Double Exist 27% | EasyE | Solve→ |
Group Shifted Strings 26% | MediumM | Solve→ |
Remove All Adjacent Duplicates in String II 25% | MediumM | Solve→ |
Remove All Occurrences of a Substring 22% | MediumM | Solve→ |
Goat Latin 22% | EasyE | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does Grammarly ask in interviews?
Grammarly commonly asks 45 coding problems in technical interviews, including Adding Spaces to a String, Populating Next Right Pointers in Each Node, IP to CIDR. The difficulty breakdown is 10 Easy, 30 Medium, and 5 Hard problems.
How should I prepare for a Grammarly coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. Grammarly interviews typically emphasize Array and String. Practice explaining your thought process while coding.
What is the difficulty level of Grammarly coding interviews?
Based on our data, Grammarly interviews include 10 Easy (22%), 30 Medium (67%), and 5 Hard (11%) problems.
Ready to ace your Grammarly interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required