Morgan Stanley interview experience Real time questions & tips from candidates to crack your interview

Software Analyst

Morgan Stanley
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4-5 months
Topics: Data Structures and Algorithms, Arrays, two and three Pointers, OOPS, System Design, DBMS, Dynamic Programming
Tip
Tip

Tip 1 : solve all the must do questions available at GeeksforGeeks and coding ninjas
Tip 2 : having a major project will give you an edge over others
Tip 3 : practice regularly on Codechef and Codeforces and brush up your skills
Tip 4 : if you are a fresher, then placement preparation course from coding ninjas can really help you in short span of time

Application process
Where: Other
Eligibility: above 7 cgpa, 2022 passout batch
Resume Tip
Resume tip

Tip 1 : technical skills mentioned in the resume should be on your tips
Tip 2 : having a team project will give you an edge over others
Tip 3 : put the links of your competitive profiles in your resume, then your stats speak louder for your skill set

Interview rounds

01
Round
Easy
Online Coding Interview
Duration120 minutes
Interview date5 Oct 2020
Coding problem3

This round was carried out on Morgan Stanley's online test platform. It was very user friendly platform and easily understandable. Countdown Timer was located at the top right corner that helped me to keep a check on the remaining time and I planned my answers and code accordingly.

1. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
IBMVisaOYO

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Try solving now

2. Position of Right Most Set Bit

Easy
10m average time
90% success
0/40
Asked in companies
Morgan StanleyExpedia GroupAmazon

You are given a number N. You need to return the position of the rightmost set bit.

For example:
If the given number is 10 with the binary representation: 1010
The rightmost set bit would be 2 (counted from right). 
Try solving now

3. NINJA'S JUMP

Hard
15m average time
85% success
0/120
Asked in companies
Morgan StanleyAmazonExpedia Group

Ninja is assigned a task to reach the last stone by his master. These stones are numbered with some value and in the form of an array. He is allowed to jump either odd-numbered jumps or even-numbered jumps and has to reach the last stone.

So your task is to find the number of starting index from which he may start jumping so he reaches the last stones. You are provided with the given array and you have to find the number of starting index of the array from which Ninja can reach the end of the array by jumping some number of times.

For jumping you have to follow below instructions:

You may jump forward from index ‘i’ to index ‘j’ (with i < j) in the following way:

During odd-numbered jumps (i.e., jumps 1, 3, 5, ...), you jump to the index ‘j’ such that ‘arr[i] <= arr[j]’ and ‘arr[j]’ is the smallest possible value. If there are multiple such indices ‘j’, you can only jump to the smallest such index j.

During even-numbered jumps (i.e., jumps 2, 4, 6, ...), you jump to the index ‘j’ such that ‘arr[i] >= arr[j]’ and ‘arr[j]’ is the largest possible value. If there are multiple such indices ‘j’, you can only jump to the smallest such index ‘j’.

Try solving now
02
Round
Medium
Video Call
Duration35 minutes
Interview date2 Nov 2020
Coding problem2

the interview was scheduled over zoom and there was only one single interviewer and we both have out videos turned on.

1. Binary Tree Maximum Path Sum

Moderate
20m average time
80% success
0/80
Asked in companies
FacebookSamsungCoinbase

You are given a binary tree with ‘N’ nodes.

Your task is to find the “Maximum Path Sum” for any path.

Note :

1. A ‘path’ is a sequence of adjacent pair nodes with an edge between them in the binary tree.
2. The ‘path’ doesn’t need to pass through the root.
3. The ‘path sum’ is the sum of the node’s data in that path. 
Try solving now

2. Count Ways To Reach The N-th Stairs

Moderate
30m average time
80% success
0/80
Asked in companies
OYOLinkedInGrab

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair.


Each time, you can climb either one step or two steps.


You are supposed to return the number of distinct ways you can climb from the 0th step to the Nth step.

Note:

Note: Since the number of ways can be very large, return the answer modulo 1000000007.
Example :
N=3

Example

We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
Try solving now
03
Round
Medium
HR Round
Duration40 minutes
Interview date5 Dec 2020
Coding problem1

1. Basic HR Questions

What are you most proud of? 

What has been your greatest failure?

Problem approach

Tip 1 : basically these kind of questions has no wrong or right answer, the intent to answer and face these questions should be positive, try to relate it with some real life experience from your past
Tip 2 : also each and every company wants optimistic candidates, try to look at the positive side of any circumstance that you are given to think about
Tip 3 : never try to show yourself a perfect person

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Morgan Stanley
0 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 6 problems
Interviewed by Morgan Stanley
1057 views
0 comments
0 upvotes
company logo
Technology Analyst
2 rounds | 6 problems
Interviewed by Morgan Stanley
981 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Morgan Stanley
903 views
0 comments
0 upvotes