0 day streak

Grammarly coding interview questions

Enterprise SaaSProduct Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +107 Solve
Remove All Adjacent Duplicates In StringStack Basics Easy Stack Elastic, JPMorgan Chase, Deloitte +6 Solve
Remove All Adjacent Duplicates in String IIStack Basics Medium Stack Amazon, Spotify, Twilio +10 Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Google, Amazon, Apple +50 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Copy List with Random PointerMiscellaneous Medium Linked List Google, Amazon, Microsoft +23 Solve
Time Based Key-Value StoreBasics Medium Binary Search Apple, Netflix, Uber +25 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Amazon, Microsoft, Apple +59 Solve
Non-overlapping IntervalsBasics Medium Intervals Google, TikTok (ByteDance), Verkada +3 Solve
Two Best Non-Overlapping EventsBasics Medium Intervals JPMorgan Chase, Adyen, Plaid +1 Solve
Repeated DNA SequencesSliding Window · Fixed Medium Arrays & Hashing LinkedIn, IBM Solve
Climbing Stairs1D DP Easy Dynamic Programming Microsoft, Bloomberg, eBay +34 Solve
Search Insert PositionBisect Easy Binary Search SpaceX, TCS, Infosys +2 Solve
Generate ParenthesesPick / Not-Pick Medium Recursion & Backtracking Google, Amazon, Microsoft +28 Solve
Sqrt(x)Search on Answer Range Easy Binary Search TikTok (ByteDance), Wayfair, Epic Games +15 Solve
Logger Rate LimiterHash Map + Array Easy Design Data Structures Google, Netflix, Tesla +17 Solve
Word Break1D DP Medium Dynamic Programming Google, Amazon, Microsoft +35 Solve
Word Search2D Matrix Backtracking Medium Recursion & Backtracking Google, Microsoft, Meta +36 Solve
Evaluate Reverse Polish NotationStack Basics Medium Stack Google, LinkedIn, Tesla +6 Solve
Implement Trie (Prefix Tree)Basics Medium Tries Google, Microsoft, Meta +25 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +114 Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +88 Solve
Unique Paths2D DP Medium Dynamic Programming Zscaler, Akamai, Coupang +14 Solve
Word Break IIChoice per Position Hard Recursion & Backtracking Bloomberg, Snap, Booking.com +12 Solve
Special Binary StringDivide and Conquer Hard Recursion & Backtracking Nvidia, Rubrik, Coursera +3 Solve
Maximum Palindromes After OperationsGreedy Medium Arrays & Hashing Visa, IBM, MathWorks +1 Solve
Also reported, being added to AlgoRung (7)

Vowel Spellchecker · Recover a Tree From Preorder Traversal · Perfect Number · Sum of Left Leaves · Minimum Substring Partition of Equal Character Frequency · Check If a String Contains All Binary Codes of Size K · Decode the Slanted Ciphertext

Questions people ask

What coding questions does Grammarly ask most?

Merge Intervals, Remove All Adjacent Duplicates In String, Remove All Adjacent Duplicates in String II, Insert Delete GetRandom O(1), Reverse Linked List, Copy List with Random Pointer, Time Based Key-Value Store, Search in Rotated Sorted Array.

Which topics come up in Grammarly coding rounds?

strings, intervals, stack, linked list, trees, design data structure.

How hard are Grammarly coding questions?

Of the reported questions, 6 are easy, 17 medium and 3 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.