Upload Button Icon Add office photos

Morgan Stanley

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Morgan Stanley Software Developer Intern Interview Questions, Process, and Tips

Updated 21 Dec 2023

Top Morgan Stanley Software Developer Intern Interview Questions and Answers

  • Q1. Longest Substring with At Most K Distinct Characters Given a string S of length N and an integer K , find the length of the longest substring that contains at most K dis ...read more
  • Q2. Split the String Problem Statement You are given a string str consisting of N lowercase alphabets. Your task is to determine if it is possible to divide the string into ...read more
  • Q3. Sorted Linked List to Balanced BST Problem Statement Given a singly linked list where nodes contain values in increasing order, your task is to convert it into a Balance ...read more
View all 10 questions

Morgan Stanley Software Developer Intern Interview Experiences

4 interviews found

Interview experience
4
Good
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Not Selected

I applied via Referral and was interviewed in Jun 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Coding Test 

3 questions of medium to hard coding questions.

Round 3 - Technical 

(1 Question)

  • Q1. Technical interview including SQL, one programming language, and dbms based questions. the interview went well and was of 90mins.

I was interviewed in Nov 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 100 minutes
Round difficulty - Medium

Test started at 04:00 PM sharp and complete the same by 06:00 PM.
The test duration is 100 minutes.
Environment (Amcat) is user friendly and understandable.
Web cam and microphone were also enabled.

  • Q1. 

    Longest Substring with At Most K Distinct Characters

    Given a string S of length N and an integer K, find the length of the longest substring that contains at most K distinct characters.

    Input:

    The first...
  • Ans. 

    Find the length of the longest substring with at most K distinct characters in a given string.

    • Use a sliding window approach to keep track of the characters and their counts within the window.

    • Maintain a hashmap to store the characters and their frequencies.

    • Update the window size and characters count as you iterate through the string.

    • Return the maximum window size encountered for each test case.

  • Answered by AI
  • Q2. 

    Find the Duplicate Number Problem Statement

    Given an integer array 'ARR' of size 'N' containing numbers from 0 to (N - 2). Each number appears at least once, and there is one number that appears twice. Yo...

  • Ans. 

    Find the duplicate number in an integer array containing numbers from 0 to (N - 2).

    • Iterate through the array and keep track of the frequency of each number using a hashmap.

    • Return the number that appears twice in the array.

    • The duplicate number is always present in the given array.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 40 minutes
Round difficulty - Hard

This round was conducted on skype platform. I was shared the invitation link one day prior to the interview and also was told the name of my interviewer. I looked at the profile of the interviewer at linked.in and got a better understanding of what kind of person he was and prepared accordingly. The round was scheduled at 3 :00 pm on 5th Nov and I was eagerly waiting for the clock hands to reach 3 o'clock since morning and finally I went in front of him after wearing a white shirt and a black coat over it along with a tie over it.

  • Q1. 

    Ninja and Binary String Problem Statement

    Ninja has a binary string S of size N given by his friend. The task is to determine if it's possible to sort the binary string S in decreasing order by removing a...

  • Ans. 

    Determine if a binary string can be sorted in decreasing order by removing non-adjacent characters.

    • Iterate through the binary string and check if it can be sorted in decreasing order by removing non-adjacent characters.

    • Keep track of the count of '1's and '0's in the string to determine if it can be sorted in decreasing order.

    • If the count of '1's is greater than the count of '0's, the string can be sorted in decreasing

  • Answered by AI
  • Q2. 

    Split the String Problem Statement

    You are given a string str consisting of N lowercase alphabets. Your task is to determine if it is possible to divide the string into three non-empty substrings such tha...

  • Ans. 

    Given a string, determine if it can be split into three non-empty substrings where one is a substring of the other two.

    • Check if any substring of the string is a substring of the other two substrings.

    • Iterate through all possible splits of the string and check for the condition.

    • Use two pointers to find all possible substrings efficiently.

  • Answered by AI
Round 3 - HR 

Round duration - 40 minutes
Round difficulty - Easy

This round was scheduled on 15th Nov, almost after 10 days of the previous technical round. I got the confirmation of passing the previous round on 11th Nov and was asked to appear in this final round which was scheduled on 15th Nov at 11:00 am in the morning and it was going to be an HR round which probably was my favourite among all the other rounds. I prepared for by reading interview experiences available at coding ninjas and geeksforgeeks.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Delhi Technological University. I applied for the job as SDE - Intern in HyderabadEligibility criteriaabove 7.5 cgpa, CS/IT branches were preferredMorgan Stanley interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Arrays, Linked List, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, greedy algorithmsTime required to prepare for the interview - 10 monthsInterview preparation tips for other job seekers

Tip 1 : practice on gfg and coding ninjas
Tip 2 : compete on codechef and codeforces
Tip 3 : learn DSA and practice regularly

Application resume tips for other job seekers

Tip 1 : Not more than 1 page
Tip 2 : Have atleast 3 projects with some achievement in coding contest and your coding handle should be mentioned like codechef, codeforces etc
Tip 3 : Try to keep only those things in resume in which you find yourself comfortable with

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Developer Intern Interview Questions Asked at Other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an ar ... read more
asked in Amazon
Q2. Fish Eater Problem Statement In a river where water flows from le ... read more
asked in Apple
Q3. Kevin and his Fruits Problem Statement Kevin has 'N' buckets, eac ... read more
asked in CommVault
Q4. Sliding Maximum Problem Statement Given an array of integers ARR ... read more
Q5. Reverse Words in a String: Problem Statement You are given a stri ... read more

I was interviewed in Nov 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 Minutes
Round difficulty - Hard

  • Q1. 

    Ways To Make Coin Change

    Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make...

  • Ans. 

    Implement a function to determine the total number of ways to make change for a specified value using given denominations.

    • Use dynamic programming to keep track of the number of ways to make change for each value up to the target value.

    • Iterate through each denomination and update the number of ways to make change for each value based on the current denomination.

    • Return the total number of ways to make change for the targ...

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 90 Miinutes
Round difficulty - Medium

I was asked 3 coding questions

  • Q1. How would you design a system like Facebook?
  • Ans. 

    Designing a system like Facebook involves creating user profiles, news feeds, friend connections, messaging features, and more.

    • Create user profiles with personal information, photos, and posts

    • Implement a news feed algorithm to display relevant content to users

    • Allow users to connect with friends and follow other users

    • Include messaging features for private communication between users

    • Implement notifications for likes, com...

  • Answered by AI
  • Q2. 

    Sorted Linked List to Balanced BST Problem Statement

    Given a singly linked list where nodes contain values in increasing order, your task is to convert it into a Balanced Binary Search Tree (BST) using th...

  • Ans. 

    Convert a sorted singly linked list into a Balanced Binary Search Tree (BST) using the same data values.

    • Create a function to convert the linked list to a BST by finding the middle element as the root and recursively building the left and right subtrees.

    • Maintain a pointer to the head of the linked list and update it as nodes are processed.

    • Use level order traversal to output the values of the BST nodes, representing NULL...

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

This is HR + Technical Round
Started with tell me about yourself asked about projects in depth

  • Q1. 

    Cycle Detection in a Singly Linked List

    Determine if a given singly linked list of integers forms a cycle or not.

    A cycle in a linked list occurs when a node's next points back to a previous node in the ...

  • Ans. 

    Detect if a singly linked list forms a cycle by checking if a node's next pointer points back to a previous node.

    • Use Floyd's Cycle Detection Algorithm to determine if there is a cycle in the linked list.

    • Maintain two pointers, one moving at twice the speed of the other.

    • If the two pointers meet at any point, there is a cycle in the linked list.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in MumbaiEligibility criteriaCV ShortlistingMorgan Stanley interview preparation:Topics to prepare for the interview - Data Structures, OOPS, Aptitude, Competitive Coding, DataBase, Operating SystemTime required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Be good with aptitube skills
Tip 2 : Good with data structures and algorithms
Tip 3 : Be confident while explaining

Application resume tips for other job seekers

Tip 1 : Good Projects
Tip 2 : Achievement is good to have

Final outcome of the interviewSelected

Skills evaluated in this interview

What people are saying about Morgan Stanley

View All
valiantcashew
Verified Icon
4d
works at
Morgan Stanley
Request for Referrals
Hi, Looking for some job referrals in risk management areas with yoe of >6 yrs.
Got a question about Morgan Stanley?
Ask anonymously on communities.

I was interviewed in Nov 2020.

Round 1 - Video Call 

(2 Questions)

Round duration - 50 minutes
Round difficulty - Hard

Timing (10 am- 10:50 am)
For this round I had slightly more time than the last, due to the fact that the weekend fell in between.The interviewer was very very cool and helping this time, something which I kept at the last in my list of probable things that can happen during an interview. Duration of this round was around 50 minutes.

This time I had to face three technical questions and one general question on Finance banks.

  • Q1. 

    Pair Sum Problem Statement

    You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.

    Note:
    ...
  • Ans. 

    Find pairs of elements in an array that sum up to a given value, sorted in a specific order.

    • Iterate through the array and for each element, check if the complement (S - current element) exists in a hash set.

    • If the complement exists, add the pair to the result list.

    • Sort the result list based on the criteria mentioned in the problem statement.

  • Answered by AI
  • Q2. 

    Validate BST Problem Statement

    Given a binary tree with N nodes, determine whether the tree is a Binary Search Tree (BST). If it is a BST, return true; otherwise, return false.

    A binary search tree (BST)...

  • Ans. 

    Validate if a binary tree is a Binary Search Tree (BST) or not.

    • Check if the left subtree of a node contains only nodes with data less than the node's data.

    • Check if the right subtree of a node contains only nodes with data greater than the node's data.

    • Ensure both the left and right subtrees are also binary search trees.

    • Traverse the tree in an inorder manner and check if the elements are in sorted order.

    • Recursively valid...

  • Answered by AI
Round 2 - HR 

Round duration - 35 minutes
Round difficulty - Medium

There was only one interviewer for this round. He continuously interacted with me and was giving me some good situational problems that were not very easy to answer. Basically those were open-minded questions which can be answered oth ways and that's why I found it quiet hard as per my nature but at the end things went well for me.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Malaviya National Institute of Technology Jaipur. I applied for the job as SDE - Intern in BangaloreEligibility criteriaResume shortlistingMorgan Stanley interview preparation:Topics to prepare for the interview - Data Structures, hashmap, linked list, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, array, 2-pointer problemsTime required to prepare for the interview - 12 monthsInterview preparation tips for other job seekers

Tip 1 : Practice on gfg and coding ninjas.
Tip 2 : Compete on codechef and codeforces.
Tip 3 : Learn DSA and practice regularly.

Application resume tips for other job seekers

Tip 1 : Not more than 1 page
Tip 2 : Have atleast 3 projects with some achievement in coding contest and your coding handle should be mentioned like codechef, codeforces etc
Tip 3 : Try to keep only those things in resume in which you find yourself comfortable with

Final outcome of the interviewSelected

Skills evaluated in this interview

Morgan Stanley interview questions for designations

 Software Developer

 (17)

 Senior Software Developer

 (2)

 Java Software Developer

 (1)

 Intern

 (1)

 Software Engineer

 (4)

 Summer Intern

 (2)

 Apprentice Intern

 (1)

 Java Developer

 (3)

Interview questions from similar companies

Software Engineer Interview Questions & Answers

Barclays user image Shubham Srivastava

posted on 30 Jan 2016

Interview Preparation Tips

Round: Test
Experience: General aptitude consisted of quantitative questions .There were 6 questions and suggested time as 10 minutes. Questions were of easy level. Questions based on numbers,distance,time etc..Answers of general aptitude were to be written in textbox. eg ans is 4,write 4. there were no options in quant. Answers were integers an easy.
Technical comprehension involved two paragraphs and questions based on sql.
Logical analysis contained questions of logical deduction mainly.
Program tracing involved finding output of programs(mainly while loop and if else)..
Programming : There was only one question of programming(to be solved in 30 minutes). Code was given and was to be modified.Modification involved like , find out the least salary of employees,... (they used file input output and structures).

Tips: Practice basic aptitude.Concepts should be clear.
Duration: 90 minutes
Total Questions: 18

Skills: Basic C/C++, Logical Thinking, Logical Reasoning, General Aptitude
College Name: NIT Raipur

Interview Preparation Tips

Round: Test
Experience: Study data interpretation (calculator allowed) and pattern puzzles

Round: Group Discussion
Experience: Two topics (have been same case studies for past 4 years now): - Mobile app improvement - Making a business decision

Round: HR Interview
Experience: Everything depends only on HR interview
Tips: Make a list of your strengths and an example for each!

Round: Technical Interview
Experience: Short, easy and basic questions asked about projects and DS. Pretty chilled

College Name: Sardar Patel Institute of Technology

I applied via Campus Placement

Interview Questionnaire 

4 Questions

  • Q1. Explain the background process that takes place during an atm transaction
  • Ans. 

    ATM transaction involves multiple background processes including authentication, authorization, and communication with bank servers.

    • Customer inserts card and enters PIN

    • ATM authenticates the card and PIN

    • ATM requests authorization from bank server

    • Bank server verifies account balance and approves or denies transaction

    • ATM dispenses cash or completes other requested transaction

    • ATM updates account balance and sends transacti

  • Answered by AI
  • Q2. Cut cake into 8 pieces .You can use knife 3 times only
  • Ans. 

    Cut cake into 8 pieces using knife 3 times only.

    • First, cut the cake horizontally into two equal halves.

    • Then, cut the cake vertically into four equal pieces.

    • Finally, cut the cake horizontally again into eight equal pieces.

    • Make sure to use the knife efficiently to minimize the number of cuts.

    • Practice visualization before making the cuts to avoid mistakes.

  • Answered by AI
  • Q3. A shot fired from a gun pointing towards a tree full of birds. All birds left except one. Why ?
  • Ans. 

    The one bird was already dead.

    • The bird was already dead before the shot was fired.

    • The bird was injured and unable to fly away with the rest of the birds.

    • The bird was a decoy bird used for hunting purposes.

    • The bird was a trained bird used for falconry.

  • Answered by AI
  • Q4. Explain projects which you made in college?
  • Ans. 

    Developed a web-based attendance management system and a mobile app for event management.

    • Created a database schema and implemented CRUD operations using PHP and MySQL.

    • Designed the user interface using HTML, CSS, and JavaScript.

    • Integrated Google Maps API for location tracking in the mobile app.

    • Implemented push notifications using Firebase Cloud Messaging.

    • Collaborated with a team of four to complete the projects within t

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: The question paper was a mix of aptitude, programming of c++ java , sql and reasoning.
There was negative marking set for each questions.
Tips: Attempt that portion first in which you are really confident.
Dont try to attempt all questions , as negative marking plays big role.
Duration: 60 minutes

Round: Technical Interview
Experience: As Barclays is a bank , so this kind of question is obvious.
Be prepared for technical process that takes place in a usual banking domain.
Also , any type of question whether reasoning based or technical can be asked.
Tips: Be confident. Try to tell everything in a straight manner.

Round: Case Study Interview
Experience: You can put humour while answering as this shows your positivity.
There can be many reason for this like birds ia dead , bird is deaf , bird is of plastic. You can choose whatever hit into your mind.

Round: Behavioural Interview
Experience: Explaining the thing in which you already have knowledge is a plus point.
But make sure you have complete knowledge of your college project as they can ask as many questions as possible because your project is the main thing which can extend your interview time.

Skills: Common Sense, Presence Of Mind, Positive Thinking, Ability To Deliver On A Project, C Programming
College Name: UPTU
Motivation: As it is a product based company , so chances of growth is good and pay scale is better.

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: Was nice experience,should have good aptitude.
Tips: Learn aptitude more and morr
Duration: 60 minutes

Round: Group Discussion
Experience: Just speak about the topic
Tips: Do not get silent

Round: Technical Interview
Experience: iOS,C/C++
Tips: Just be confident about your answwers ansd show that you are capable to do each and everything in this world and you have quick learning capacity to grasp anything.

General Tips: C/C++,
Skills:
College Name: CDAC PUNE
Motivation: Bank more than 325 years old.

Interview Questionnaire 

11 Questions

  • Q1. 1st technical round
  • Q2. How you will find the smallest of 4 numbers without using >.< and min function using java
  • Ans. 

    Finding smallest of 4 numbers without using >.< and min function in Java.

    • Initialize a variable with the first number

    • Compare it with the remaining numbers using if-else statements

    • If a smaller number is found, update the variable

    • Repeat until all numbers are compared

    • The final value of the variable will be the smallest number

  • Answered by AI
  • Q3. Write a code for palindrome
  • Ans. 

    Code for palindrome checking

    • Convert the input to lowercase to ignore case sensitivity

    • Use two pointers, one at the start and one at the end of the string

    • Compare the characters at both pointers and move them towards each other

    • If all characters match, it's a palindrome

  • Answered by AI
  • Q4. Write any javascript code
  • Ans. 

    Javascript code to display 'Hello World!' on the webpage

    • Create a new HTML file

    • Add a script tag with 'type' attribute set to 'text/javascript'

    • Inside the script tag, use document.write() to display 'Hello World!'

  • Answered by AI
  • Q5. Swap two number without using temperory variable
  • Ans. 

    Swap two numbers without using a temporary variable.

    • Use addition and subtraction to swap the values

    • Use XOR operator to swap the values

    • Use multiplication and division to swap the values

  • Answered by AI
  • Q6. How you will add 2 table
  • Ans. 

    To add 2 tables, we need to use a join operation on a common column.

    • Identify the common column between the tables

    • Choose the appropriate join type (inner, outer, left, right)

    • Write the SQL query to join the tables

    • Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column

  • Answered by AI
  • Q7. Difference between union and union all
  • Ans. 

    Union combines and removes duplicates, Union All combines all rows including duplicates.

    • Union is used to combine the result sets of two or more SELECT statements and remove duplicates.

    • Union All is used to combine the result sets of two or more SELECT statements and includes all rows, including duplicates.

    • Union is slower than Union All as it has to remove duplicates.

    • Union requires the same number of columns in all SELEC...

  • Answered by AI
  • Q8. They provide an instance, and tell us to write a query for that
  • Q9. Tell me about yourself
  • Q10. The worst situation during your internship period
  • Ans. 

    Being assigned a project with unrealistic deadlines and minimal guidance

    • Received a project with tight deadlines and unclear requirements

    • Struggled to meet the deadlines due to lack of guidance and support

    • Had to work long hours and weekends to try to complete the project

    • Learned the importance of clear communication and setting realistic expectations

  • Answered by AI
  • Q11. How you will overcome from that worst situation

Interview Preparation Tips

Round: Test
Experience: The question were not that much difficult. Many apti questions are easy. Technical was very easy for me.
The questions were fully based on java, c and SQL. 7 to 8 questions are from SQL. But all are straight forward questions. Other 2 sections were easy and any student who had a good sort of thinking ability can able to solve those questions.
Tips: Just refer all the basic topics in java, c and sql.
Duration: 60 minutes
Total Questions: 50

Round: Technical Interview
Experience: It was fully based on the final sem project which i was doing.
Since my project is company's employee portal, i was asked about that. They will dig into deep with respect to that project.
Tips: U should be aware of each and everything in your project which you are going to explain them. The question which they use to ask is really unpredictable.

Round: Technical Interview
Experience: This is pure technical round where i was asked the questions which is easy but takes time to think. Anyhow, i answered all these questions and get into the next round.
Tips: Logical thinking matters. Though questions look easier, sometimes we co calculate with wrong manner.
So keep calm and think in a broader manner.

Round: Technical Interview
Experience: Technical round with pure database stuffs. I was asked only few question in this. Since it was straight forward, i answered all the questions.

Round: HR Interview
Experience: Confidence really matters. Though i was not that much good in conversing, i spoke with brave and confidently which makes me to became a part of the barclays team.

General Tips: Be confident enough and answer them what you know.
Talking too much as well as taking less is also a problematic.
Skills: Logical thinking, Technical skills ( Especially about database )
College Name: MANIPAL INSTITUTE OF TECHNOLOGY, MANIPAL
Motivation: Credits should goes to my bro who motivates me to apply to this comapny.

Skills evaluated in this interview

Interview Preparation Tips

Round: Test
Experience: The test was for two and half hours where 1 hour was for general aptitude, 1 hr was for coding aptitude(either on java or C or C++as you choose) and 1/2 an hour for two coding questions.

Round: Technical Interview
Experience: In technical round they asked puzzles, aptitude questions and basic C coding. I was asked to write the code for two questions(one was on sort and search) and was asked the logic of two questions.They asked basics of linked lists, stacks, queues. Infact they were not very interested in the syntax and were pressing on the logic

General Tips: Being a non software branch students is not at all a problem. The company took 4 interns where 3 were from core branches. The fact that we had to work in JAVA and most of us didn't know JAVA, the company only looks for aptitude and ability to learn. So if you don't know anything, tell frankly that you don't know that part, rather than guessing. Be thorough with what you know and confidentially answer all the questions.
Also do not be tensed and take things lightly, if the interviewer is joking. Be candid.
Skill Tips: Learn basics of coding from books . Aptitude can be done from sites likes geeks for geeks, etc. The level of aptitude is not very high and infact the coding aptitude is also theoretical and does not involve in depth knowledge.
Skills:
College Name: NIT Surathkal
Contribute & help others!
anonymous
You can choose to be anonymous

Morgan Stanley Interview FAQs

How many rounds are there in Morgan Stanley Software Developer Intern interview?
Morgan Stanley interview process usually has 3 rounds. The most common rounds in the Morgan Stanley interview process are Resume Shortlist, Coding Test and Technical.

Recently Viewed

INTERVIEWS

Bajaj Finserv

No Interviews

SALARIES

ICICI Bank

SALARIES

ICICI Bank

SALARIES

ICICI Bank

INTERVIEWS

Bajaj Finserv

No Interviews

SALARIES

Cognizant

No Salaries

SALARIES

Cognizant

SALARIES

Cognizant

SALARIES

ICICI Bank

REVIEWS

Capgemini

No Reviews

Tell us how to improve this page.

Morgan Stanley Software Developer Intern Interview Process

based on 1 interview

Interview experience

4
  
Good
View more
Associate
3.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Manager
2.4k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Manager
1.9k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Associate
1.6k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Vice President
1.3k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Morgan Stanley with

JPMorgan Chase & Co.

4.0
Compare

Goldman Sachs

3.5
Compare

TCS

3.7
Compare

Deloitte

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview