Explore questions associated with Grammarly. Review the source details, then use the workspace for code, notes, and diagrams.
7 questions in the library. A source association does not guarantee a future interview question.
Coding
Loading questions…
Practice system design interviews out loud with an AI interviewer, a shared whiteboard and a scorecard for your level.
© 2026 SysRound. SysRound is an AI practice tool. The AI interviewer and the AI feedback can be wrong. Use it for your own practice, not to hire people.
Showing 1–7
Partition the string into the fewest contiguous substrings such that each substring is "balanced" (every distinct character in the substring appears the same number of…
Companies: Grammarly
Counting · Dynamic Programming · Hash Table · String
Given a list of intervals (endpoints touching allowed), find the minimum number to remove so the remaining intervals are pairwise non-overlapping — equivalently, select the…
Companies: Grammarly, Amazon, Docusign
Array · Dynamic Programming · Greedy · Sorting
Reconstruct a binary tree from a preorder string where each node is represented by its value prefixed with D dashes indicating its depth (root depth…
Companies: Grammarly
Binary Tree · Depth-First Search · String · Tree
Given a sorted array of distinct integers and a target, return the index where the target is found or the index where it should be…
Companies: Grammarly, Bloomberg, Google, Meta
Array · Binary Search
Given a set of weighted intervals, pick at most two non-overlapping events (events are inclusive, so the next must start at least end+1) to maximize…
Companies: Grammarly, Goldman Sachs
Array · Binary Search · Dynamic Programming · Heap (Priority Queue)
Determine whether the string s can be segmented into a sequence of one or more words from wordDict (words may be reused). The core challenge…
Companies: Grammarly, Amazon, Google, Meta +3
Array · Brute-Force Search · Dynamic Programming · Hash Table
Determine whether a target word can be formed by a path of horizontally or vertically adjacent cells in an m×n letter grid without reusing a…
Companies: Grammarly, Amazon, Glean, Google +3
Array · Backtracking · Depth-First Search · Matrix