Goldman Sachs vs Yelp Interview Questions

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

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Yelp

27 questions

Easy 7Medium 15Hard 5

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 Yelp.

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Trapping Rain Water, Median of Two Sorted Arrays, First Unique Character in a String and Yelp-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
Yelp
7
Medium
Goldman Sachs
165
Yelp
15
Hard
Goldman Sachs
48
Yelp
5

Top Shared Topics

14 Shared Questions

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

ProblemDifficulty
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Merge IntervalsMedium
Group AnagramsMedium
Two SumEasy
Top K Frequent ElementsMedium
The Skyline ProblemHard
Reverse Linked ListEasy
Decode StringMedium
Find the Closest PalindromeHard
Word LadderHard
Reverse Words in a StringMedium
Valid AnagramEasy
Top K Frequent WordsMedium

Unique to Goldman Sachs (247)

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

ProblemDifficulty
Trapping Rain WaterHard
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
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Decode WaysMedium
Number of IslandsMedium

Unique to Yelp (13)

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

ProblemDifficulty
Destination CityEasy
Filter Restaurants by Vegan-Friendly, Price and DistanceMedium
Remove Colored Pieces if Both Neighbors are the Same ColorMedium
Active BusinessesMedium
Longest Common PrefixEasy
Course ScheduleMedium
Minimum Index Sum of Two ListsEasy
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Letter Case PermutationMedium
Insert Delete GetRandom O(1)Medium
Insert Delete GetRandom O(1) - Duplicates allowedHard
Word Ladder IIHard

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Yelp share?

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

What topics overlap most between Goldman Sachs and Yelp?

The most common shared topics between Goldman Sachs and Yelp are String (9 shared questions), Hash Table (7 shared questions), Array (6 shared questions), Sorting (6 shared questions), Heap (Priority Queue) (3 shared questions). Mastering these areas prepares you for both companies.

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

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Yelp has 7 Easy, 15 Medium, and 5 Hard questions. Yelp has a higher proportion of Hard problems in its interview set.

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

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

Explore More