IBM vs Morgan Stanley Interview Questions

IBM lists 115 LeetCode interview questions while Morgan Stanley lists 60. They share 22 problems — 19% of IBM's bank and 37% of Morgan Stanley's. Focus on the overlap first, then drill into 93 IBM-only and 38 Morgan Stanley-only questions.

Read the full IBM vs Morgan Stanley preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
Morgan Stanley

60 questions

Easy 13Medium 40Hard 7

Preparation Strategy

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

Step 2 — Company-specific depth: Add IBM-specific problems like Find the Smallest Divisor Given a Threshold, Gray Code, Exclusive Time of Functions and Morgan Stanley-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
IBM
33
Morgan Stanley
13
Medium
IBM
73
Morgan Stanley
40
Hard
IBM
9
Morgan Stanley
7

Top Shared Topics

22 Shared Questions

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

ProblemDifficulty
3SumMedium
Best Time to Buy and Sell StockEasy
Two SumEasy
Meeting Rooms IIMedium
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
Minimum Suffix FlipsMedium
Longest Consecutive SequenceMedium
Longest Palindromic SubstringMedium
Maximum SubarrayMedium
Spiral MatrixMedium
Kth Missing Positive NumberEasy
Group AnagramsMedium
Longest Increasing SubsequenceMedium
Find The Original Array of Prefix XorMedium
Palindrome NumberEasy
Remove Duplicates from Sorted ArrayEasy
Generate ParenthesesMedium
Least Number of Unique Integers after K RemovalsMedium
The Employee That Worked on the Longest TaskEasy
LRU CacheMedium
Majority ElementEasy

Unique to IBM (93)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
Exclusive Time of FunctionsMedium
Integer to RomanMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
Roman to IntegerEasy
Count Ways to Group Overlapping RangesMedium
Rotate ImageMedium
Minimum Absolute DifferenceEasy
Minimum Operations to Make All Array Elements EqualMedium
Number of Divisible Triplet SumsMedium

Unique to Morgan Stanley (38)

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

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
Delete and EarnMedium
Count Subarrays With Fixed BoundsHard
First Unique Character in a StringEasy
Remove Nth Node From End of ListMedium
Kth Largest Element in an ArrayMedium
Copy List with Random PointerMedium
Stamping The SequenceHard

Frequently Asked Questions

How many LeetCode questions do IBM and Morgan Stanley share?

IBM and Morgan Stanley share 22 LeetCode interview questions. 93 problems appear only in IBM's list and 38 appear only in Morgan Stanley's list.

What topics overlap most between IBM and Morgan Stanley?

The most common shared topics between IBM and Morgan Stanley are Array (16 shared questions), Hash Table (7 shared questions), Sorting (6 shared questions), Dynamic Programming (5 shared questions), String (5 shared questions). Mastering these areas prepares you for both companies.

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

IBM has 33 Easy, 73 Medium, and 9 Hard questions. Morgan Stanley has 13 Easy, 40 Medium, and 7 Hard questions. Morgan Stanley has a higher proportion of Hard problems in its interview set.

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

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

Explore More