Goldman Sachs vs Grammarly Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Grammarly lists 30. They share 14 problems — 5% of Goldman Sachs's bank and 47% of Grammarly's. Focus on the overlap first, then drill into 247 Goldman Sachs-only and 16 Grammarly-only questions.

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Grammarly

30 questions

Easy 7Medium 19Hard 4

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Median of Two Sorted Arrays, First Unique Character in a String, Fraction to Recurring Decimal and Grammarly-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
Grammarly
7
Medium
Goldman Sachs
165
Grammarly
19
Hard
Goldman Sachs
48
Grammarly
4

Top Shared Topics

14 Shared Questions

High-priority problems to practice for both Goldman Sachs and Grammarly.

ProblemDifficulty
Trapping Rain WaterHard
Merge IntervalsMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Remove All Adjacent Duplicates in String IIMedium
Sqrt(x)Easy
Unique PathsMedium
Generate ParenthesesMedium
Climbing StairsEasy
Word SearchMedium
Word BreakMedium
Non-overlapping IntervalsMedium
Implement Trie (Prefix Tree)Medium
Evaluate Reverse Polish NotationMedium

Unique to Goldman Sachs (247)

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

ProblemDifficulty
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
LRU CacheMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Group AnagramsMedium

Unique to Grammarly (16)

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

ProblemDifficulty
Remove All Adjacent Duplicates In StringEasy
Vowel SpellcheckerMedium
Insert Delete GetRandom O(1)Medium
Repeated DNA SequencesMedium
Perfect NumberEasy
Logger Rate LimiterEasy
Sum of Left LeavesEasy
Search Insert PositionEasy
Two Best Non-Overlapping EventsMedium
Minimum Substring Partition of Equal Character FrequencyMedium
Check If a String Contains All Binary Codes of Size KMedium
Word Break IIHard

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Grammarly share?

Goldman Sachs and Grammarly share 14 LeetCode interview questions. 247 problems appear only in Goldman Sachs's list and 16 appear only in Grammarly's list.

What topics overlap most between Goldman Sachs and Grammarly?

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

Which company asks harder LeetCode questions: Goldman Sachs or Grammarly?

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Grammarly has 7 Easy, 19 Medium, and 4 Hard questions. Goldman Sachs has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Goldman Sachs and Grammarly?

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

Explore More