Morgan Stanley | Java Developer(3 - 10 YOE) [Offer] | | 4 ROUNDS
[ OK ]eiMrsL5FuM — full writeup
[ INFO ]category: Behavioral · Onsite difficulty: average freq: first seen: 2022-03-09
[AVERAGE][ONSITE]OnsiteSWE II (Mid-Level)Accepted
$catproblem.md
I interviewed for the Java Developer role at Morgan Stanley, targeting candidates with 3-10 years of experience. My interview process consisted of four rounds:
1. Online Assessment Round:
Two coding problems: one easy (O(1) time complexity) and one hard (Minimum Number of Taps to Open to Water a Garden from Leetcode).
Ten multiple-choice questions on core Java concepts.
The allotted time was 82 minutes.
2. Technical Round 1:
House Robber (Medium) from Leetcode.
Remove Nth Node From End of List (Medium) from Leetcode.
Basic comparator questions.
How to make a class immutable.
Multithreading fundamentals.
3. Technical Round 2:
LFU Cache (Hard) from Leetcode (I was unable to answer this question).
Difference between PUT and POST requests.
Asynchronous programming (I answered with my surface knowledge).
Spring vs. Spring Boot differences.
Design the BookMyShow website (I'm not sure what the interviewer expected in the last 15 minutes of the interview).
4. Technical Round 3 (Hiring Manager):
Sort a HashMap based on values.
Print an array like a wave (The interviewer provided an image to illustrate the desired output).
Spring Framework questions: Explain Scope, Bean Factory, and Application Context.
Design a URL shortening system.
After the interview process, the HR team contacted me to inform me that I had been shortlisted for an offer. They mentioned that the compensation discussion would take place soon.