Goldman Sachs vs Google Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Google lists 2,305. They share 237 problems — 91% of Goldman Sachs's bank and 10% of Google's. Focus on the overlap first, then drill into 24 Goldman Sachs-only and 2,068 Google-only questions.

Read the full Goldman Sachs vs Google preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Google

2,305 questions

Easy 601Medium 1205Hard 499

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like High Five, Better Compression of String, Minimum Moves to Capture The Queen and Google-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
Google
601
Medium
Goldman Sachs
165
Google
1205
Hard
Goldman Sachs
48
Google
499

Top Shared Topics

237 Shared Questions

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

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
Minimum Path SumMedium
LRU CacheMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Merge IntervalsMedium
Robot Bounded In CircleMedium
Group AnagramsMedium
Decode WaysMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Best Time to Buy and Sell StockEasy
Find Minimum in Rotated Sorted ArrayMedium
Knight Probability in ChessboardMedium
Best Time to Buy and Sell Stock IIMedium
Two SumEasy
Pairs of Songs With Total Durations Divisible by 60Medium
Robot Return to OriginEasy
Valid Arrangement of PairsHard
Design HashMapEasy
Corporate Flight BookingsMedium
Maximum SubarrayMedium
Find the Minimum Amount of Time to Brew PotionsMedium
Shortest Subarray with Sum at Least KHard
Range Product Queries of PowersMedium

Showing top 30 of 237 shared problems.

Unique to Goldman Sachs (24)

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

ProblemDifficulty
High FiveEasy
Better Compression of StringMedium
Minimum Moves to Capture The QueenMedium
Minimum Length of String After Deleting Similar EndsMedium
Minimum Cost Homecoming of a Robot in a GridMedium
Permutations IIIMedium
Perform String ShiftsEasy
Minimum Number of Chairs in a Waiting RoomEasy
Find All Good IndicesMedium
Maximize Palindrome Length From SubsequencesHard
Count Number of TextsMedium
Sort the Jumbled NumbersMedium

Unique to Google (2,068)

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

ProblemDifficulty
Longest Common PrefixEasy
Palindrome NumberEasy
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Recyclable and Low Fat ProductsEasy
Reverse IntegerMedium
Meeting Rooms IIMedium
Add Two IntegersEasy
Remove ElementEasy
Minimum Number of Increments on Subarrays to Form a Target ArrayHard
4SumMedium
Single NumberEasy

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Google share?

Goldman Sachs and Google share 237 LeetCode interview questions. 24 problems appear only in Goldman Sachs's list and 2068 appear only in Google's list.

What topics overlap most between Goldman Sachs and Google?

The most common shared topics between Goldman Sachs and Google are Array (21 shared questions), Hash Table (8 shared questions), String (8 shared questions), Dynamic Programming (7 shared questions), Binary Search (4 shared questions). Mastering these areas prepares you for both companies.

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

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Google has 601 Easy, 1205 Medium, and 499 Hard questions. Google has a higher proportion of Hard problems in its interview set.

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

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

Explore More