Morgan Stanley Coding Interview Questions

We track 53 coding questions asked at Morgan Stanley, tagged with the algorithms and concepts they test. The most common: Array, Dynamic Programming, Hash Table, String, Greedy.

Browse all 53 Morgan Stanley questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 53 tracked Morgan Stanley questions that touch each concept. Questions usually involve several, so these overlap.

Where Morgan Stanley differs from the average company

Concept weight at Morgan Stanley relative to the average across all companies we track. Green means Morgan Stanley leans on it harder than most.

Morgan Stanley specialties

Concepts that show up at Morgan Stanley but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 53 tracked Morgan Stanley questions.

  • Junior23% (12)
  • Mid/Senior66% (35)
  • Staff11% (6)

Every concept in Morgan Stanley interviews

ConceptQuestions% of questionsShare of mix
Array3667.9%26.8%
Dynamic Programming1426.4%9.9%
Hash Table1426.4%8.5%
String1222.6%7.8%
Greedy815.1%5.1%
Sorting815.1%4.5%
Stack815.1%4.6%
Two Pointers815.1%5.4%
Linked List59.4%3.4%
Binary Search47.5%2.6%
Counting47.5%1.8%
Math47.5%3.6%
Monotonic Stack47.5%2.2%
Sliding Window47.5%2.0%
Queue35.7%1.4%
Backtracking23.8%1.0%
Matrix23.8%1.0%
Prefix Sum23.8%1.0%
Recursion23.8%1.0%
Binary Indexed Tree11.9%0.6%
Bit Manipulation11.9%1.0%
Breadth-First Search11.9%0.6%
Depth-First Search11.9%0.4%
Design11.9%0.5%
Divide and Conquer11.9%0.4%
Doubly-Linked List11.9%0.5%
Heap (Priority Queue)11.9%0.4%
Monotonic Queue11.9%0.5%
Number Theory11.9%0.4%
Quickselect11.9%0.4%
Simulation11.9%0.6%

Practice a Morgan Stanley interview

Take a realistic AI-led mock interview with questions Morgan Stanley actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required