I applied through a staffing agency. The process took 1 day. I interviewed at Morgan Stanley (Bengaluru) in Mar 2018
Interview
I was contacted by a consultancy. I attended the women's drive in March 2018.
In the first round, I was asked a question related to multithreading which was tricky. The interviewer was very good and supportive.
Interview questions [1]
Question 1
There are 2 files, one file is having even numbers and other is having odd numbers. There will be 2 threads Odd Thread and Even Thread. Odd thread should print odd numbers and even thread should print even numbers from the respective files.
need to write a code to print the numbers sequentially. starting with odd thread then even thread alternatively.
OutPut: 1 2 3 4 5 6 7 etc.,