Upload Button Icon Add office photos

Morgan Stanley

Compare button icon Compare button icon Compare

Filter interviews by

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

Updated 21 Dec 2023

Top Morgan Stanley Software Developer Intern Interview Questions and Answers for Freshers

  • 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 8 questions

Morgan Stanley Software Developer Intern Interview Experiences for Freshers

3 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 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 for undefined

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

Interview questions from similar companies

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.

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

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

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 Questionnaire 

11 Questions

  • Q1. Print all nodes at a distance k from a given node in binary tree?
  • Q2. RandN function : which generates random number in [1,2,3..N] with equal probability. Given rand5, write a code for rand7 using rand5
  • Ans. 

    Code for rand7 using rand5 function

    • Use rand5 twice to generate a number in [1,25] with equal probability

    • If the number is greater than 21, discard and try again

    • Otherwise, return (number mod 7) + 1

  • Answered by AI
  • Q3. Puzzle: Using all(8,8,3,3) and only operators(*,/,-,+), make 24
  • Q4. How do you implement LRU cache?
  • Ans. 

    LRU cache is implemented using a doubly linked list and a hash map.

    • Create a doubly linked list to keep track of the order of elements in the cache.

    • Create a hash map to store the key-value pairs of the cache.

    • When a new element is added, check if the cache is full. If it is, remove the least recently used element from the linked list and the hash map.

    • When an element is accessed, move it to the front of the linked list to...

  • Answered by AI
  • Q5. Your current project in Company? A lot of questions from CV? Discussion went on for about 15 minutes?
  • Q6. Then had a lot of questions around java script and java. About different design patterns and web services
  • Q7. A lot of questions around java, collections frameworks, multi threading and so on. (This took a good 25-30 minutes )
  • Q8. A strategy question. It would be asked depending on which team you are being interviewed for.Mine was some apple seller problem. Here knowledge of real world scenario helps. Advice is to observe things aro...
  • Q9. Write down function to select pivot element randomly in Quick Sort
  • Ans. 

    Function to randomly select pivot element in Quick Sort

    • Generate a random index within the range of the array

    • Return the element at the randomly generated index as the pivot

  • Answered by AI
  • Q10. He asked me what is a data structure and why do we use one. Explained him. He asked some real life example of stack and queue. All I could gave him was programming examples but when he insisted on real li...
  • Q11. As we were talking very much on each question. He felt like talking more and from tech he went around for some biggest learning from a mistake/biggest achievement of life kind of questions. There were oth...

Interview Preparation Tips

General Tips: I recently interviewed with Goldman Sachs&#44; and had 4 rounds of interview with them at their campus in Bangalore.
Skills: Algorithm, Data structure
College Name: na

Skills evaluated in this interview

Interview Questionnaire 

4 Questions

  • Q1. One coding question.
  • Q2. Questions on Data Structures
  • Q3. Logical Question: You are a captive. If you say the right answer, the assasin will hang you, if you say the wrong answer, he will shoot you. How do you escape?
  • Q4. Other aptitude questions

Interview Preparation Tips

Round: Other Interview
Experience: One year since I took the interview, so no idea exactly what questions they asked. But I was asked to write the code on paper in front of him and was asked to debug it. Some puzzles and aptitude questions along with other basic coding questions. It was great that the guy was interactive and started asking about my projects and college life.
Btw the answer to the logical question is: I should say " you will shoot me". Paradoxical.
Tips: Feel free to ask anything that you would like to know from them. Also frankly say that you don't know a certain topic if you have no clue what it is about. They don't like people wasting their time.

Round: HR Interview
Experience: This was not exactly a technical interview. He asked me to write a code to find the day of week when a certain date in any year of the calendar is given. I answered it and then he starting asking general questions as to why do u want to join the company, etc.
I gave answers to most of them convincingly. But I kept him engaged by explaining my life at college, the extra curriculars I did at college. Also I asked him about his experience as a software engineer. I asked him to reflect upon his career and how I should approach about my career.
Tips: The best part about HR interviews is they expect you to ask them lots and lots of questions. The more they are engaged, the more are your chances of impressing and getting selected. And more importantly, ask the interviewer about his experience with the present firm. This also works with my manager when ever he has a one on one with me :P
Cheers and all the best.

Skills: Soft Skills, General Aptitude, LOGICAL THINKING ABILITIES, Coding Skills And Knowledge On Data Structures
College Name: IIT Hyderabad

Morgan Stanley Interview FAQs

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

Tell us how to improve this page.

Morgan Stanley Software Developer Intern Interview Process for Freshers

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