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
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
Top Shared Topics
35 Shared Questions
High-priority problems to practice for both Goldman Sachs and J P Morgan.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Container With Most Water | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Merge Intervals | Medium |
| Group Anagrams | Medium |
| Decode Ways | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Best Time to Buy and Sell Stock II | Medium |
| Two Sum | Easy |
| Maximum Subarray | Medium |
| Top K Frequent Elements | Medium |
| Pascal's Triangle | Easy |
| Kth Largest Element in an Array | Medium |
| Coin Change | Medium |
| Subarray Sum Equals K | Medium |
| Longest Palindromic Substring | Medium |
| Daily Temperatures | Medium |
| Valid Parentheses | Easy |
| Generate Parentheses | Medium |
| Open the Lock | Medium |
| Reverse Linked List | Easy |
| Spiral Matrix | Medium |
| Climbing Stairs | Easy |
| Reaching Points | Hard |
| Letter Combinations of a Phone Number | Medium |
| Next Permutation | Medium |
| Set Matrix Zeroes | Medium |
| Rotate Image | Medium |
| Find the Duplicate Number | Medium |
| Integer to Roman | Medium |
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.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Median of Two Sorted Arrays | Hard |
| First Unique Character in a String | Easy |
| Fraction to Recurring Decimal | Medium |
| High Five | Easy |
| Minimum Path Sum | Medium |
| String Compression | Medium |
| Find the Winner of the Circular Game | Medium |
| Robot Bounded In Circle | Medium |
| Number of Islands | Medium |
| Search in Rotated Sorted Array | Medium |
| Find Minimum in Rotated Sorted Array | Medium |
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.