Goldman Sachs vs Morgan Stanley Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Morgan Stanley lists 60. They share 30 problems — 11% of Goldman Sachs's bank and 50% of Morgan Stanley's. Focus on the overlap first, then drill into 231 Goldman Sachs-only and 30 Morgan Stanley-only questions.

Read the full Goldman Sachs vs Morgan Stanley preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Morgan Stanley

60 questions

Easy 13Medium 40Hard 7

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Trapping Rain Water, Median of Two Sorted Arrays, Fraction to Recurring Decimal and Morgan Stanley-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
Morgan Stanley
13
Medium
Goldman Sachs
165
Morgan Stanley
40
Hard
Goldman Sachs
48
Morgan Stanley
7

Top Shared Topics

30 Shared Questions

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

ProblemDifficulty
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
Two SumEasy
Maximum SubarrayMedium
Top K Frequent ElementsMedium
Kth Largest Element in an ArrayMedium
Remove All Adjacent Duplicates in String IIMedium
Coin ChangeMedium
Jump GameMedium
3SumMedium
Longest Palindromic SubstringMedium
Daily TemperaturesMedium
Generate ParenthesesMedium
Longest Consecutive SequenceMedium
Spiral MatrixMedium
CandyHard
Maximum Product SubarrayMedium
Word SearchMedium
Majority ElementEasy
Sort ColorsMedium
Longest Increasing SubsequenceMedium
Next Greater Element IEasy
Reorder ListMedium
Next Greater Element IIMedium
Remove Duplicates from Sorted ArrayEasy

Unique to Goldman Sachs (231)

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

ProblemDifficulty
Trapping Rain WaterHard
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

Unique to Morgan Stanley (30)

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

ProblemDifficulty
Best Team With No ConflictsMedium
Minimum Number of Lines to Cover PointsMedium
Find the Longest Valid Obstacle Course at Each PositionHard
Minimum Cost to Move Chips to The Same PositionEasy
Find Subarrays With Equal SumEasy
The Employee That Worked on the Longest TaskEasy
Find The Original Array of Prefix XorMedium
Delete and EarnMedium
Count Subarrays With Fixed BoundsHard
Palindrome NumberEasy
Remove Nth Node From End of ListMedium
Copy List with Random PointerMedium

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Morgan Stanley share?

Goldman Sachs and Morgan Stanley share 30 LeetCode interview questions. 231 problems appear only in Goldman Sachs's list and 30 appear only in Morgan Stanley's list.

What topics overlap most between Goldman Sachs and Morgan Stanley?

The most common shared topics between Goldman Sachs and Morgan Stanley are Array (23 shared questions), Hash Table (9 shared questions), Dynamic Programming (8 shared questions), String (7 shared questions), Sorting (7 shared questions). Mastering these areas prepares you for both companies.

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

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Morgan Stanley has 13 Easy, 40 Medium, and 7 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 Morgan Stanley?

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

Explore More