Goldman Sachs vs J P Morgan Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while J P Morgan lists 79. They share 35 problems — 13% of Goldman Sachs's bank and 44% of J P Morgan's. Focus on the overlap first, then drill into 226 Goldman Sachs-only and 44 J P Morgan-only questions.

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
J P Morgan

79 questions

Easy 27Medium 47Hard 5

Preparation Strategy

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

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 J P Morgan-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
J P Morgan
27
Medium
Goldman Sachs
165
J P Morgan
47
Hard
Goldman Sachs
48
J P Morgan
5

Top Shared Topics

35 Shared Questions

High-priority problems to practice for both Goldman Sachs and J P Morgan.

ProblemDifficulty
LRU CacheMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
Merge IntervalsMedium
Group AnagramsMedium
Decode WaysMedium
Best Time to Buy and Sell StockEasy
Best Time to Buy and Sell Stock IIMedium
Two SumEasy
Maximum SubarrayMedium
Top K Frequent ElementsMedium
Pascal's TriangleEasy
Kth Largest Element in an ArrayMedium
Coin ChangeMedium
Subarray Sum Equals KMedium
Longest Palindromic SubstringMedium
Daily TemperaturesMedium
Valid ParenthesesEasy
Generate ParenthesesMedium
Open the LockMedium
Reverse Linked ListEasy
Spiral MatrixMedium
Climbing StairsEasy
Reaching PointsHard
Letter Combinations of a Phone NumberMedium
Next PermutationMedium
Set Matrix ZeroesMedium
Rotate ImageMedium
Find the Duplicate NumberMedium
Integer to RomanMedium

Showing top 30 of 35 shared problems.

Unique to Goldman Sachs (226)

Problems in Goldman Sachs's list that do not appear at J P Morgan.

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Find Minimum in Rotated Sorted ArrayMedium

Unique to J P Morgan (44)

Problems in J P Morgan's list that do not appear at Goldman Sachs.

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and J P Morgan share?

Goldman Sachs and J P Morgan share 35 LeetCode interview questions. 226 problems appear only in Goldman Sachs's list and 44 appear only in J P Morgan's list.

What topics overlap most between Goldman Sachs and J P Morgan?

The most common shared topics between Goldman Sachs and J P Morgan are Array (19 shared questions), Hash Table (10 shared questions), String (9 shared questions), Dynamic Programming (9 shared questions), Two Pointers (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Goldman Sachs or J P Morgan?

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. J P Morgan has 27 Easy, 47 Medium, and 5 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 J P Morgan?

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

Explore More