Morgan Stanley interview practice

Morgan Stanley interview questions

74 questions; coding questions sorted by reports.

FastPrep has 60 coding questions tagged Morgan Stanley, plus 3 system design and 11 low-level design questions. Filter them by interview stage and open any one to practice it.

Questions
74 (60 coding, 14 design and project)
By stage
Online Assessment 24 · Phone Screen 6 · Onsite 32
Updated

Question list

All 60 Morgan Stanley coding questions

Sorted by how many times each question was reported. Pick a stage to see only its questions.

Showing 60 of 60 Morgan Stanley questions.

QuestionDifficultyStageReports
Maximum Concurrent ProcessesIntervalsSortingMediumOA · Onsite4 reports · last Sep 2026
Kth Largest Array ElementArrayHeapMediumOnsite2 reports · last Jul 2026
Merge IntervalsArraySortingMediumOA2 reports · last Feb 2024
All-Pairs Shortest PathsGraphShortest PathMediumOA · Onsite2 reports · last Feb 2022
Longest Common SubsequenceStringDynamic ProgrammingMediumOA2 reports · last Jul 2021
Unique Grid PathsDynamic ProgrammingMatrixMediumPhone1 report · last Oct 2026
Generate Strings of Length at Least ThreeStringBacktrackingMediumOnsite1 report · last Sep 2026
Three-Resource 0/1 KnapsackArrayDynamic ProgrammingMediumOA1 report · last Sep 2026
Maximum Total of Nonadjacent RatingsArrayDynamic ProgrammingEasyOA1 report · last Jul 2026
Run-Length Encode Consecutive Letter RunsStringSimulationEasyOnsite1 report · last Jul 2026
Count Shipment SchedulesMathCombinatoricsMediumOA1 report · last Apr 2026
Delete and EarnArrayDynamic ProgrammingMediumOA1 report · last Apr 2026
Interleave Array HalvesArrayEasyOA1 report · last Apr 2026
Maximum Edge Removals for Two TravelersGraphUnion FindHardOnsite1 report · last Oct 2025
Remove K DigitsStringGreedyMediumOnsite1 report · last Oct 2025
Get Patch SequenceStringGreedyHardOA1 report · last Feb 2025
Reverse an IntegerMathStringEasyPhone1 report · last Jul 2024
Second and Third Distinct Order ValuesDatabaseEasyPhone1 report · last Jul 2024
String Subsequences 🐳StringDynamic ProgrammingEasyOA1 report · last Mar 2024
Binary Tree Level OrderTreeBreadth-First SearchMediumOA1 report · last Feb 2024
Binary Tree Preorder TraversalTreeDepth-First SearchEasyPhone1 report · last Jan 2024
Find a Target-Sum SubarrayArrayHash TableMediumPhone1 report · last Jan 2024
Two SumArrayHash TableEasyPhone1 report · last Jan 2024
Count Ideal ArraysMathDynamic ProgrammingHardOnsite1 report · last Aug 2023
Distinct Palindrome PartitionsBacktrackingDynamic ProgrammingMediumOnsite1 report · last Aug 2023
LFU Cache OperationsHash TableLinked ListHardOnsite1 report · last Aug 2023
Format Chemical SymbolsHash TableSortingEasyOA1 report · last Feb 2023
Serialize and Deserialize a Binary TreeTreeDepth-First SearchMediumOA1 report · last Feb 2023
Fibonacci with Input ValidationDynamic ProgrammingRecursionEasyOnsite1 report · last Feb 2022
Find Friends by DegreeGraphBreadth-First SearchMediumOnsite1 report · last Feb 2022
Next PermutationArrayTwo PointersMediumOnsite1 report · last Feb 2022
Rotate a Square ImageArrayMatrixMediumOnsite1 report · last Feb 2022
Highest-Paid Employees in Every DepartmentDatabaseMediumOnsite1 report · last Aug 2021
Maximum Root-to-Leaf Path SumTreeDepth-First SearchMediumOnsite1 report · last Aug 2021
Power with an Integer ExponentMathMediumOnsite1 report · last Aug 2021
Index of the String with Most VowelsArrayStringEasyOnsite1 report · last Jun 2021
Longest Balanced Binary SubarrayArrayPrefix SumMediumOA1 report · last Jun 2021
Slope of a Nonvertical LineMathGeometryEasyOA1 report · last Jun 2021
Navigate Previous and Next Browser TabsArraySimulationEasyOnsite1 report · last Jan 2021
Delete a Linked-List Node Without the HeadLinked ListMediumOnsite1 report · last Nov 2020
Evaluate an Expression with Custom PrecedenceStackStringMediumOnsite1 report · last May 2018
Find the Value Occurring Exactly OnceArrayBit ManipulationMediumOnsite1 report · last May 2018
Maximum Subarray SumArrayDynamic ProgrammingMediumOA1 report · last May 2018
Top Salary Departments Within Each CompanyDatabaseMediumOnsite1 report · last May 2018
Top Two Alphabetic WordsStringSortingMediumOnsite1 report · last May 2018
Binary Tree Boundary TraversalTreeDepth-First SearchMediumOnsite1 report · last Aug 2016
Factorial Without Loops or RecursionMathEasyOnsite1 report · last Aug 2016
Process Completion OrderSimulationQueueMediumOnsite1 report · last Aug 2016
Binary Tree Nodes at Distance KTreeBreadth-First SearchMediumOnsite1 report · last Oct 2015
Find a Node’s Level in an N-ary TreeTreeBreadth-First SearchEasyOnsite1 report · last Oct 2015
Implement a Seeded Pseudorandom Number GeneratorMathSimulationMediumOnsite1 report · last Oct 2015
Maximum Meetings from Start Times and DurationsGreedySortingMediumOA1 report · last Oct 2015
Maximum Sum of a Strictly Increasing SubarrayArrayDynamic ProgrammingMediumOnsite1 report · last Oct 2015
Numbers Without Consecutive Binary OnesBit ManipulationBreadth-First SearchMediumOA1 report · last Oct 2015
Remove a Cycle from a Singly Linked ListLinked ListTwo PointersMediumOnsite1 report · last Oct 2015
Count Palindromic Substrings of Length at Least TwoStringDynamic ProgrammingMediumOA1 report · last Sep 2014
Find an Entry of Pascal’s TriangleMathDynamic ProgrammingEasyOA1 report · last Sep 2014
Count Index Pairs with a Target SumArrayHash TableEasyOA1 report · last Sep 2014
Find the Earliest Formatted DateStringSortingEasyOA1 report · last Sep 2014
Maximum Value from Recursive Coin ExchangeDynamic ProgrammingMediumOA1 report · last Sep 2014

At a glance

Morgan Stanley interview process

FastPrep has 60 Morgan Stanley coding interview questions: 24 questions from the online assessment (OA), 6 questions from phone screens and 32 questions from onsite rounds. A question can be reported in more than one stage. Most are medium (38 medium, 18 easy and 4 hard). The most common topics are Array, Dynamic Programming, String, Math and Sorting. The latest report is from Oct 2026.

  • Online Assessment

    24 questions · 15 medium, 8 easy and 1 hard

    Topics: Dynamic Programming, Array and Sorting

    Latest report: Sep 2026

  • Phone Screen

    6 questions · 4 easy and 2 medium

    Topics: Array, Hash Table and Combinatorics

    Latest report: Oct 2026

  • Onsite

    32 questions · 23 medium, 6 easy and 3 hard

    Topics: Array, String and Dynamic Programming

    Latest report: Sep 2026

By stage and level

Morgan Stanley questions by stage and level

01 · Preparation plan

Turn greedy string construction and subsequence DP into a deliberate practice loop.

Morgan Stanley's assessment evidence is string-focused but tests two different modes: construct one canonical sequence under constraints, then count all valid index selections without enumerating them. Catalog labels guide practice but do not promise a current or universal hiring loop. This is a suggested practice order, not Morgan Stanley's interview process. Your invitation and recruiter come first.

  1. 01

    Practice Get Patch Sequence

    Use Get Patch Sequence to rehearse greedy construction with deterministic tie-breaking. Keep the exercise's published contract separate from assumptions about Morgan Stanley's current interview process.

    • Restate the exact input, output, and constraints for greedy construction with deterministic tie-breaking.
    • Explain the data structure and complexity before completing the implementation.
    • Test a boundary case, a repeated-value case, and the smallest valid input.
    Practice: Get Patch Sequence
  2. 02

    Practice String Subsequences

    Use String Subsequences to rehearse subsequence-count dynamic programming. Keep the exercise's published contract separate from assumptions about Morgan Stanley's current interview process.

    • Restate the exact input, output, and constraints for subsequence-count dynamic programming.
    • Explain the data structure and complexity before completing the implementation.
    • Test a boundary case, a repeated-value case, and the smallest valid input.
    Practice: String Subsequences 🐳
  3. 03

    Connect greedy construction with deterministic tie-breaking with subsequence-count dynamic programming

    Finish the Morgan Stanley study block by comparing Get Patch Sequence with String Subsequences. Explain what changes between implementation-level correctness and the broader engineering tradeoff.

    • Name the invariant shared by both exercises.
    • Contrast their state, scale, and failure assumptions.
    • Choose one follow-up and defend the next test you would run.

02 · Design and project questions

14 Morgan Stanley design and project questions

Beyond coding questions, FastPrep has 3 system design and 11 low-level design questions tagged Morgan Stanley.

Low-level designLast reported Nov 2026

Design and Implement a Progressive Banking System

Model an in-memory banking system whose accounts, money movements, transfers, and transaction history can evolve without rewriting the stable core.

Practice
System designLast reported Nov 2026

Design a Ticket Booking System

Design the catalog, availability, pricing, reservation, and payment path for a high-demand movie and event ticketing platform.

Practice
Low-level designLast reported Oct 2026

Design a Multi-Floor Parking Lot

Model compatible parking for bikes, cars and five-spot buses, with atomic ticketed allocation and a nearest-entrance extension.

Practice
System designLast reported Oct 2026

Design an Authenticated Shopping Platform

Design a single-retailer shopping API whose login, session, cart, and order boundaries remain secure and retry-safe at scale.

Practice
Low-level designLast reported Sep 2026

Design an Elevator Control System

Model elevator cars, hall and cabin requests, dispatch assignment, movement state, and safe fault handling.

Practice
Low-level designLast reported Aug 2026

Design a Library Circulation System

Design and implement a library circulation system with titles, physical copies, members, loans, holds, extensible policies, and atomic checkout and return behavior.

Practice
Low-level designLast reported Oct 2025

Model Room Appliances with OOP

Model and implement power and settings for a room’s lamp and fan while demonstrating all four OOP pillars.

Practice
Low-level designLast reported Feb 2023

Design an Earbud Connection and Playback Model

Model an earbud’s connection, playback and volume, then extend it with an optional model capability.

Practice
Low-level designLast reported Aug 2021

Design Vaccination Centre Reservations

Model centre availability and slot reservations that protect both place capacity and shared doses under concurrency.

Practice
Low-level designLast reported Jun 2021

Demonstrate Multilevel Device Inheritance

Design and code a three-level device hierarchy,then explain nonvirtual multiple-base construction order.

Practice
Low-level designLast reported Nov 2020

Design a Profile Catalogue and Playback Model

Model a streaming catalogue and independent profile playback lifecycles,then add series and episodes.

Practice
System designLast reported May 2018

Design a Company Payroll Allocation Database

Model multi-department employees, three salary components and account-percentage allocations, then prepare coherent immutable payout snapshots.

Practice
Low-level designLast reported Oct 2015

Design Employee Username and Birth Date Rules

Model an employee that requires a username and accepts its birth date only once, with explicit error and observation contracts.

Practice
Low-level designLast reported Sep 2014

Design Stateful Shopping Cart Lines

Model adding, updating and removing cart lines with captured prices, then handle later catalogue price changes.

Practice

03 · About these questions

Where these Morgan Stanley questions come from

Each question on this page is tagged Morgan Stanley in FastPrep's problem bank. The report count and month show how often and how recently it was reported from Morgan Stanley interviews.

Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.

  • Only questions tagged Morgan Stanley appear on this page.
  • Each coding question shows its stage and last report date when known.
  • These are not official, private or leaked Morgan Stanley questions.

04 · FAQ

Morgan Stanley interview questions: FAQ

For hiring news and timelines, see the Morgan Stanley hiring insights page.

01What are the stages of the Morgan Stanley interview?

The 60 Morgan Stanley coding questions on FastPrep come from the online assessment (24 questions), phone screens (6 questions) and onsite rounds (32 questions). Some questions were reported in more than one stage. Stages differ by role, level and date, so check your invitation for your own process.

02What does the Morgan Stanley OA look like?

24 of the 60 Morgan Stanley coding questions on FastPrep come from the online assessment. By difficulty: 15 medium, 8 easy and 1 hard. Common OA topics: Dynamic Programming, Array and Sorting. The latest OA report is from Sep 2026.

03How hard is the Morgan Stanley interview?

Most Morgan Stanley coding questions on FastPrep are medium. By difficulty, the 60 rated questions are 38 medium, 18 easy and 4 hard.

04What topics come up in Morgan Stanley coding interviews?

Across 60 Morgan Stanley coding questions, the most common topics are Array (17 questions), Dynamic Programming (17 questions), String (12 questions), Math (9 questions) and Sorting (7 questions).

05What are the most asked Morgan Stanley interview questions?

The most reported questions are “Maximum Concurrent Processes” (4 reports), “Kth Largest Array Element” (2 reports) and “Merge Intervals” (2 reports).

06What evidence supports this Morgan Stanley interview practice page?

The launch review verified 2 coding exercises (2 total public practice items). The strongest reviewed themes are greedy construction with deterministic tie-breaking, subsequence-count dynamic programming. Counts and report labels can change, so use this as a focused practice library and follow your own invitation for the current format, timing, and permitted tools.

07Is FastPrep affiliated with Morgan Stanley?

No. FastPrep is an independent interview prep site and is not affiliated with Morgan Stanley. These are practice questions from FastPrep's problem bank, not official, private or leaked Morgan Stanley questions.

08How do you know which stage a Morgan Stanley question is from?

Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.

09Which Morgan Stanley interview stage should I practice first?

The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.

10Can this page tell me exactly what my Morgan Stanley interview will ask?

No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.

Next step

Pick a question. Solve it end to end.

Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.

Back to the question list