Upload Button Icon Add office photos

Morgan Stanley

Compare button icon Compare button icon Compare

Filter interviews by

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

Updated 22 Nov 2021

Morgan Stanley Java Software Developer Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Oct 2021. There was 1 interview round.

Interview Questionnaire 

5 Questions

  • Q1. Oops concepts: pass by value in Java Parent reference to child object
  • Q2. Thread: print odd and even number in sequence using Threads
  • Ans. 

    Printing odd and even numbers in sequence using threads.

    • Create two threads, one for odd and one for even numbers.

    • Use a shared variable to keep track of the current number.

    • Use synchronized block to ensure only one thread is executing at a time.

    • Use wait() and notify() methods to signal the other thread.

    • Terminate the threads when the desired number of iterations is reached.

  • Answered by AI
  • Q3. Concurrent package: internal working of CopyOnWriteArrayList Diff between synchronized collection and concurrent collection
  • Ans. 

    Explaining CopyOnWriteArrayList and difference between synchronized and concurrent collections.

    • CopyOnWriteArrayList is a thread-safe variant of ArrayList where all mutative operations are implemented by making a new copy of the underlying array.

    • Synchronized collections use a single lock to synchronize access to the collection, while concurrent collections use multiple locks to allow concurrent access.

    • Concurrent collect...

  • Answered by AI
  • Q4. Write program to find the largest number present in array having increasing then decreasing numbers.
  • Ans. 

    Program to find largest number in array with increasing then decreasing numbers.

    • Find the peak element in the array using binary search.

    • If peak element is at index 0 or last index, return it.

    • Else, search for largest element in left and right subarrays.

  • Answered by AI
  • Q5. Working of HashMap Use of Equals and Hashcode method in case of HashMap
  • Ans. 

    HashMap is a data structure that stores key-value pairs and uses hashcode and equals methods for efficient retrieval.

    • HashMap uses hashcode to generate an index for the key-value pair

    • If two keys have the same hashcode, equals method is used to check for equality

    • If equals method returns true, the value associated with the key is returned

    • If equals method returns false, a collision occurs and the key-value pair is stored i

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview was technical one. It lasted for 1 hr.
Most of the question asked were related to my work.
Thread concept is must for Morgan Stanley. So prepare that on priority. Basic concepts of Oops/collection framework should be clear. Array based program will be asked so have some hands-on.

Skills evaluated in this interview

Interview questions from similar companies

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

I applied via Company Website and was interviewed in Jan 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic java questions
  • Q2. OOPs concept and Solid principle
Round 2 - HR 

(1 Question)

  • Q1. Salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - if you want development or tech work don't go there. And want to work in Management it is good oportunity
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

There were three coding questions.

Round 2 - Technical 

(5 Questions)

  • Q1. Could you provide a thorough explanation of the project?
  • Q2. OOps Concepts and question from the technical subjects
  • Q3. Why Spring Boot
  • Q4. JWT Authentication
  • Q5. Docker and Kubernetes
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Technical 

(2 Questions)

  • Q1. This was for internship. The first questions were 10 questions based on guessing output of c program
  • Q2. 2 coding questions with easy to medium difficulty based on strings and mathematical knowledge
Round 2 - Interview 

(1 Question)

  • Q1. This was a virtual interview round which had basic HR type questions.
Round 3 - Hackathon 

(1 Question)

  • Q1. This was code for good hackathon
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
No response

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Project Architecture
Round 2 - Technical 

(1 Question)

  • Q1. Informatica tech questions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
No response

I was interviewed in Oct 2024.

Round 1 - Technical 

(4 Questions)

  • Q1. Spring cloud gateway
  • Q2. JWT Token structure and details
  • Q3. Java 11 features
  • Q4. Stream related problems
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

MCQ test consisting of 70 mcqs in 75 minutes from aptitude english and cs fundamentals. If cleared next paper 2 coding qs medium level

Round 2 - Technical 

(2 Questions)

  • Q1. Two sum leetcode problem
  • Q2. What problems you faced in your project
  • Ans. 

    I faced challenges with integrating third-party APIs and debugging complex logic.

    • Difficulty in understanding and implementing third-party APIs

    • Issues with data synchronization between different systems

    • Troubleshooting complex logic errors

    • Managing dependencies and version conflicts

    • Time constraints affecting problem-solving

  • Answered by AI
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. How is transaction managed in microservices architecture?
  • Ans. 

    Transactions in microservices are managed using distributed transactions or compensating transactions.

    • Distributed transactions involve multiple microservices coordinating with a transaction manager to ensure data consistency across services.

    • Compensating transactions involve each microservice having a compensating action to rollback changes if a transaction fails.

    • Saga pattern is commonly used in microservices to manage ...

  • Answered by AI
  • Q2. Questions about java garbage collection

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
No response

I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Project questions
  • Q2. Spring related questions
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Coding Test 

DP graphs strings it was good

Round 2 - Technical 

(2 Questions)

  • Q1. Reverse a linkded list
  • Ans. 

    Reverse a linked list by changing the direction of pointers

    • Start with three pointers: current, previous, and next

    • Iterate through the list, updating pointers to reverse the direction

    • Return the new head of the reversed list

  • Answered by AI
  • Q2. Print fibonacci series
  • Ans. 

    The Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

    • Start with two variables initialized to 0 and 1

    • Loop through desired number of iterations, adding the previous two numbers to get the next number

    • Print or store each number in the series

  • Answered by AI

Skills evaluated in this interview

Morgan Stanley Interview FAQs

What are the top questions asked in Morgan Stanley Java Software Developer interview?

Some of the top questions asked at the Morgan Stanley Java Software Developer interview -

  1. Concurrent package: internal working of CopyOnWriteArrayList Diff between sync...read more
  2. Write program to find the largest number present in array having increasing the...read more
  3. Working of HashMap Use of Equals and Hashcode method in case of Hash...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

Wells Fargo Interview Questions
3.9
 • 567 Interviews
Citicorp Interview Questions
3.7
 • 566 Interviews
HSBC Group Interview Questions
4.0
 • 490 Interviews
Goldman Sachs Interview Questions
3.5
 • 408 Interviews
Deutsche Bank Interview Questions
3.9
 • 366 Interviews
American Express Interview Questions
4.2
 • 360 Interviews
BNY Interview Questions
3.9
 • 338 Interviews
UBS Interview Questions
4.0
 • 337 Interviews
Barclays Interview Questions
3.8
 • 277 Interviews
View all
Associate
3.1k salaries
unlock blur

₹5.2 L/yr - ₹20 L/yr

Senior Manager
2.4k salaries
unlock blur

₹16 L/yr - ₹56 L/yr

Manager
1.9k salaries
unlock blur

₹10.7 L/yr - ₹42 L/yr

Senior Associate
1.5k salaries
unlock blur

₹7.1 L/yr - ₹26.2 L/yr

Vice President
1.3k salaries
unlock blur

₹22 L/yr - ₹80 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