Morgan Stanley vs Yahoo Interview Questions

Morgan Stanley lists 60 LeetCode interview questions while Yahoo lists 34. They share 7 problems — 12% of Morgan Stanley's bank and 21% of Yahoo's. Focus on the overlap first, then drill into 53 Morgan Stanley-only and 27 Yahoo-only questions.

Read the full Morgan Stanley vs Yahoo preparation guide →

Overview

Morgan Stanley

60 questions

Easy 13Medium 40Hard 7
Yahoo

34 questions

Easy 11Medium 20Hard 3

Preparation Strategy

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

Step 2 — Company-specific depth: Add Morgan Stanley-specific problems like Best Time to Buy and Sell Stock, Best Team With No Conflicts, Minimum Number of Lines to Cover Points and Yahoo-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Morgan Stanley skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Morgan Stanley
13
Yahoo
11
Medium
Morgan Stanley
40
Yahoo
20
Hard
Morgan Stanley
7
Yahoo
3

Top Shared Topics

7 Shared Questions

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

ProblemDifficulty
Two SumEasy
LRU CacheMedium
Palindrome NumberEasy
Spiral MatrixMedium
Meeting Rooms IIMedium
Word SearchMedium
Top K Frequent ElementsMedium

Unique to Morgan Stanley (53)

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

ProblemDifficulty
Best Time to Buy and Sell StockEasy
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
Longest Substring Without Repeating CharactersMedium
Count Subarrays With Fixed BoundsHard
Merge IntervalsMedium

Unique to Yahoo (27)

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

ProblemDifficulty
Maximum Depth of Binary TreeEasy
Reverse Linked ListEasy
Contains DuplicateEasy
Serialize and Deserialize Binary TreeHard
Largest Palindrome ProductHard
Median of Two Sorted ArraysHard
Roman to IntegerEasy
Word BreakMedium
Linked List CycleEasy
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium

Frequently Asked Questions

How many LeetCode questions do Morgan Stanley and Yahoo share?

Morgan Stanley and Yahoo share 7 LeetCode interview questions. 53 problems appear only in Morgan Stanley's list and 27 appear only in Yahoo's list.

What topics overlap most between Morgan Stanley and Yahoo?

The most common shared topics between Morgan Stanley and Yahoo are Array (5 shared questions), Hash Table (3 shared questions), Matrix (2 shared questions), Sorting (2 shared questions), Heap (Priority Queue) (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Morgan Stanley or Yahoo?

Morgan Stanley has 13 Easy, 40 Medium, and 7 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Morgan Stanley has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Morgan Stanley and Yahoo?

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

Explore More