Grammarly vs Microsoft Interview Questions

Grammarly lists 30 LeetCode interview questions while Microsoft lists 192. They share 12 problems — 40% of Grammarly's bank and 6% of Microsoft's. Focus on the overlap first, then drill into 18 Grammarly-only and 180 Microsoft-only questions.

Overview

Grammarly

30 questions

Easy 7Medium 19Hard 4
Microsoft

192 questions

Easy 55Medium 109Hard 28

Preparation Strategy

Step 1 — Shared core: Solve the 12 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Grammarly and Microsoft.

Step 2 — Company-specific depth: Add Grammarly-specific problems like Remove All Adjacent Duplicates In String, Vowel Spellchecker, Insert Delete GetRandom O(1) and Microsoft-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Microsoft skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Grammarly
7
Microsoft
55
Medium
Grammarly
19
Microsoft
109
Hard
Grammarly
4
Microsoft
28

Top Shared Topics

12 Shared Questions

High-priority problems to practice for both Grammarly and Microsoft.

ProblemDifficulty
Merge IntervalsMedium
Search in Rotated Sorted ArrayMedium
Climbing StairsEasy
Sqrt(x)Easy
Generate ParenthesesMedium
Search Insert PositionEasy
Evaluate Reverse Polish NotationMedium
Word SearchMedium
Number of IslandsMedium
Trapping Rain WaterHard
Unique PathsMedium
Word BreakMedium

Unique to Grammarly (18)

Problems in Grammarly's list that do not appear at Microsoft.

ProblemDifficulty
Remove All Adjacent Duplicates In StringEasy
Vowel SpellcheckerMedium
Insert Delete GetRandom O(1)Medium
Remove All Adjacent Duplicates in String IIMedium
Repeated DNA SequencesMedium
Perfect NumberEasy
Logger Rate LimiterEasy
Sum of Left LeavesEasy
Non-overlapping IntervalsMedium
Two Best Non-Overlapping EventsMedium
Minimum Substring Partition of Equal Character FrequencyMedium
Implement Trie (Prefix Tree)Medium

Unique to Microsoft (180)

Problems in Microsoft's list that do not appear at Grammarly.

ProblemDifficulty
Two SumEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Add Two NumbersMedium
Longest Palindromic SubstringMedium
Single Element in a Sorted ArrayMedium
Median of Two Sorted ArraysHard
Valid ParenthesesEasy
3SumMedium
Maximum SubarrayMedium
Group AnagramsMedium
Reverse Nodes in k-GroupHard

Frequently Asked Questions

How many LeetCode questions do Grammarly and Microsoft share?

Grammarly and Microsoft share 12 LeetCode interview questions. 18 problems appear only in Grammarly's list and 180 appear only in Microsoft's list.

What topics overlap most between Grammarly and Microsoft?

The most common shared topics between Grammarly and Microsoft are Array (8 shared questions), Dynamic Programming (5 shared questions), Math (4 shared questions), Binary Search (3 shared questions), String (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Grammarly or Microsoft?

Grammarly has 7 Easy, 19 Medium, and 4 Hard questions. Microsoft has 55 Easy, 109 Medium, and 28 Hard questions. Microsoft has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Grammarly and Microsoft?

Start with the 12 shared problems since they cover what both companies ask most often. Then add 18 Grammarly-specific and 20 Microsoft-specific questions to round out your prep.

Explore More