Morgan Stanley · Primly Community

Morgan Stanley coding interview / online assessment, format and difficulty (did it two weeks ago)

remote_swe_42 · 5 replies

Took the Morgan Stanley online assessment last week. Interviewing for a Senior Software Engineer role on their risk tech team. Here's what the format actually looked like so you can stop guessing.

Platform: HackerRank. Standard timer. Proctoring is not enabled on the one I got, but do not count on that.

Format: 2 coding problems, 90 minutes. That's it. No MCQ, no SQL, no "debug this code" section. Just two algo problems.

Difficulty: both were LeetCode medium difficulty. One graph problem, one DP. The graph one was a variant of "find all nodes reachable within k steps" with a twist I won't spoil because it might still be in rotation. The DP problem was similar to a knapsack variant but framed as portfolio allocation, which was a cute domain-specific wrapper.

Neither problem required you to know finance. The portfolio framing was decorative, the actual problem was just DP.

Time was enough if you're practiced. I finished in 55 minutes but I've been grinding for 3 months so take that with salt.

One thing I noticed: the test environment flagged an error when I pasted code from my IDE. Had to type it out. Minor annoyance but heads up.

After the OA I heard back in 8 days with a phone screen invite. So the turnaround on results is not instant, they're doing actual human review.

For people wondering what to study: data structures fundamentals (graphs, trees), DP is worth knowing 5-6 patterns deep, string manipulation. Don't overindex on system design for this stage. That comes later.

5 replies

hardware_hugo

This is really helpful. Do you know if the OA is the same across all roles or does it vary by team? I'm applying for a different team in their tech division and not sure if I'll get the same format.

quietquit_quincy

I don't know for sure. Someone else in my referral group got 3 problems and a SQL section for an analyst-level role. So it does seem to vary. For SWE IC roles mine was as described.

analyst_ana

I can confirm for data/analyst roles it's different. I got 2 SQL questions and a case study style question. No traditional DSA at all.

sec_sasha

90 minutes for two mediums feels generous. Unless you're saying the test is actually harder than LC medium and they just call it medium?

quietquit_quincy

Fair challenge. They were genuinely medium imo. The DP one had an extra constraint that made it slightly harder to see the state transition at first, but once you saw it the implementation was straightforward. I'd say medium-upper-medium if there's such a thing.