Goldman Sachs vs JPMorgan Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while JPMorgan lists 78. They share 33 problems — 13% of Goldman Sachs's bank and 42% of JPMorgan's. Focus on the overlap first, then drill into 228 Goldman Sachs-only and 45 JPMorgan-only questions.

Read the full Goldman Sachs vs JPMorgan preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
JPMorgan

78 questions

Easy 25Medium 45Hard 8

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Median of Two Sorted Arrays, Fraction to Recurring Decimal, High Five and JPMorgan-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
JPMorgan
25
Medium
Goldman Sachs
165
JPMorgan
45
Hard
Goldman Sachs
48
JPMorgan
8

Top Shared Topics

33 Shared Questions

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

ProblemDifficulty
Trapping Rain WaterHard
First Unique Character in a StringEasy
LRU CacheMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
Merge IntervalsMedium
Group AnagramsMedium
Best Time to Buy and Sell StockEasy
Best Time to Buy and Sell Stock IIMedium
Two SumEasy
Maximum SubarrayMedium
Top K Frequent ElementsMedium
Sliding Window MaximumHard
Coin ChangeMedium
Longest Palindromic SubstringMedium
Daily TemperaturesMedium
Valid ParenthesesEasy
Roman to IntegerEasy
Find Peak ElementMedium
Find Median from Data StreamHard
Reverse Linked ListEasy
Longest Consecutive SequenceMedium
Spiral MatrixMedium
Climbing StairsEasy
Reaching PointsHard
Letter Combinations of a Phone NumberMedium
Set Matrix ZeroesMedium
Rotate ImageMedium
Find the Winner of an Array GameMedium
Fizz BuzzEasy

Showing top 30 of 33 shared problems.

Unique to Goldman Sachs (228)

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

ProblemDifficulty
Median of Two Sorted ArraysHard
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Decode WaysMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Find Minimum in Rotated Sorted ArrayMedium
Better Compression of StringMedium

Unique to JPMorgan (45)

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

ProblemDifficulty
Count Binary SubstringsEasy
Determine Color of a Chessboard SquareEasy
Button with Longest Push TimeEasy
Meeting Rooms IIMedium
Divide Players Into Teams of Equal SkillMedium
Minimum Absolute DifferenceEasy
Check if Number Has Equal Digit Count and Digit ValueEasy
Reverse Odd Levels of Binary TreeMedium
Display Table of Food Orders in a RestaurantMedium
Maximum Number of Points From Grid QueriesHard
Lexicographically Smallest String After Applying OperationsMedium
Suspicious Bank AccountsMedium

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and JPMorgan share?

Goldman Sachs and JPMorgan share 33 LeetCode interview questions. 228 problems appear only in Goldman Sachs's list and 45 appear only in JPMorgan's list.

What topics overlap most between Goldman Sachs and JPMorgan?

The most common shared topics between Goldman Sachs and JPMorgan are Array (18 shared questions), Hash Table (10 shared questions), String (8 shared questions), Dynamic Programming (7 shared questions), Math (5 shared questions). Mastering these areas prepares you for both companies.

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

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. JPMorgan has 25 Easy, 45 Medium, and 8 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 JPMorgan?

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

Explore More