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.
Overview
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
Top Shared Topics
33 Shared Questions
High-priority problems to practice for both Goldman Sachs and JPMorgan.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| First Unique Character in a String | Easy |
| LRU Cache | Medium |
| Container With Most Water | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Merge Intervals | Medium |
| Group Anagrams | 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 |
| Sliding Window Maximum | Hard |
| Coin Change | Medium |
| Longest Palindromic Substring | Medium |
| Daily Temperatures | Medium |
| Valid Parentheses | Easy |
| Roman to Integer | Easy |
| Find Peak Element | Medium |
| Find Median from Data Stream | Hard |
| Reverse Linked List | Easy |
| Longest Consecutive Sequence | Medium |
| Spiral Matrix | Medium |
| Climbing Stairs | Easy |
| Reaching Points | Hard |
| Letter Combinations of a Phone Number | Medium |
| Set Matrix Zeroes | Medium |
| Rotate Image | Medium |
| Find the Winner of an Array Game | Medium |
| Fizz Buzz | Easy |
Showing top 30 of 33 shared problems.
Unique to Goldman Sachs (228)
Problems in Goldman Sachs's list that do not appear at JPMorgan.
| Problem | Difficulty |
|---|---|
| Median of Two Sorted Arrays | Hard |
| 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 |
| Decode Ways | Medium |
| Number of Islands | Medium |
| Search in Rotated Sorted Array | Medium |
| Find Minimum in Rotated Sorted Array | Medium |
| Better Compression of String | Medium |
Unique to JPMorgan (45)
Problems in JPMorgan's list that do not appear at Goldman Sachs.
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.