Skip to content
Related Articles

Related Articles

Improve Article
Morgan Stanley Interview Experience 2021
  • Difficulty Level : Basic
  • Last Updated : 09 May, 2021

Morgan Stanley | Mumbai | 2021 | Macro Strata Team 

I was contacted by Morgan Stanley HR for a requirement in their strata team which builds software for MS trading platform. (Very high traffic from all the share markets with lots of real-time data processing, availability, and consistency both are mandatory things.).I had a total of 3.7 years of experience mostly in Backend Platform related things. Each round is 30 mins.

Round 1: The interviewer was from London, A Cambridge graduate, A veteran in technology with 14 years in Morgan Stanley.

  • Introduction.
  • Future prospects/plans about yourself.
  • MS Team’s overview, product overview.
  • Language and current tech stack discussion.
  • Two questions:
  • What is a percentile, How do you calculate percentile, Given a list of marks with role number, find a given role number’s percentile? The discussion was related to complexity and optimization.
  • Given a 3 * 3 grid, count the number of ways to fill numbers 1-9 uniquely in the grid.
  • Current project.
  • Current project shortcomings and things to improve upon.
  • Mongo vs Postgres. What’s the flaw with mongo vs Postgres?
  • How does concurrency can be achieved at mongo?
  • What is the single granular level of concurrency at the DB level we can target to achieve?
     

Round 2: 30 mins, Interviewer was from Hongkong office.

  • Introduction.
  • Question: In an API, how we can optimize the way to send a large amount of data in an efficient manner? The API efficiency relies upon the size of data being sent in the response. Data being sent is a stream of numbers, in sorted order i.e. 1,1,1,1,1,1,1,1,1,2,2,9,9, 13,13,13,….. .
  • What are the things you look for while reviewing a PR? What are multiple things to optimize the code?
  • Their product overview, codebase overview, internal tech stack glance.
  • Discussion about how things work there inside Morgan Stanley, and Context about the responsibilities of the Strata team and use cases.
  • Some more questions, I don’t remember those now. But This round went really well. The interviewer was completely satisfied.
     

Round 3: (30 mins) London office. It was with the global head of the team managing all the teams for strata across the globe.



  • Introduced himself and the team and how things are connected between all the team across the various regions, and what’s the tech stack they have been using, and the number of people in the team.
  • Asked about my background, project, tech stack, and particularly the reason why I am interested in moving towards finance domain tech.
  • Aware of any finance-related terminologies? What’s a bond? (I could make some answer for this only) Type of bonds? (No answer).
  • The favorite languages I have worked on. I mentioned Java, PHP, JavaScript, but he saw Python on my resume in my college project.
  • Difference between tuple and list and their use-cases.
  • Type of data we can store inside a tuple and list.
  • What things do you see to optimize first in an application for a better user experience? I mentioned – Space and Time.
  • He asked among tuple and list, which one is more memory efficient and time-efficient and how?
  • Asked about how memory allocation is done for the list and tuple. I had the only basic knowledge of tuple and list, so he was digging more and more.
  • Asked if I am knowledgeable of NumPy? I said no, then he asked for java.
  • Asked what is method overloading and overriding in java?
  • Public and private specifier in java and their use cases with an example.
  • Any questions?
     

Round 4: (30 mins) Luxembourg Office.

  • Introduction.
  • Why changing the job?
  • 2 brainteasers:
  • 10 steps ladder, a guy can move one or two-step at a time, count the number of ways he can reach up to the 10th step.
  • The current time is 3:00 pm in a clock, at which time, both the minute and hour hands will meet? Calculate.
  • Java questions:
  • Time series data {timestamp: array of numbers, timestamp: array of numbers}. How will you store this data?
  • What do “==” operator checks?
  • Method overloading vs overriding.
  • Does java support multiple inheritances? Why and why not? How do you resolve multiple inheritance problems in java?
  • DS question:
  • Given an array of numbers and a number, X. Find the subarray whose sum is greater than X. Discussed in detail.
  • Any questions? I asked how do things move inside a team, tasks, projects, releases, and other activities. She explained well. The interviewer was very helpful and co-operating. Good experience.
     

Round 5: 30 mins (Budapest Office)

  • Introduced himself and talked about team structure.
  •  Brainteaser: There are 7 people, there is a dice with 6 faces. We need to pick a loser with the roll of dice. How to pick? Follow up: Suppose there is a cost of rolling a dice, so have to pick the loser with minimum rolls of dice.
  • Computer Science question: Two arrays, find the intersection of the arrays. I came up with O(n^2), then optimized that with hashset in O(n).
  • Follow up: What if both arrays are sorted. I mentioned a solution similar to merge two arrays in merge sort with time O(m+n), and constant space.
  • Follow up: What if the one array is significantly larger than the other, suppose one array has 1 million elements, and other one has only 20. I mentioned – Do a binary search for each of the 20 elements that come down to O(20 log 1 million) complexity.
  • Any questions.

    Verdict: Didn’t hear back from them. It’s been around a month. So I believe It’s a No.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.

My Personal Notes arrow_drop_up