I interviewed for a Summer Analyst Internship at Morgan Stanley in August . It was an on-campus opportunity.
There were 3 parts to this round: 1.) 10 MCQs in 20 min : Logical ability, aptitude, probability, time and work, etc. 8 were easy, 2 difficult - had to infer data from Bar graph/ sales table / pie chart.
2.) 7 Debugging Qs in 20 min : One needs to find and correct logical as well as syntactical errors. (ProTip : It's possible that there is no code written in the editor, in that case code from scratch using functions/classes provided)
3.) 3 Coding Qs in 60 min : All the questions had a very misleading description which totally differed from what was exactly required to do. So do read carefully to understand the meaning.
a.) Given a graph with values written on node, find and print the connected components in the graph in descending order with respect to sum of values in the component, and if that is same then based on no. of nodes in the component. b.) A greedy question which could be solved using priority queue or multiset c.) In an array, if X is smaller than Y and placed after Y, then randomnessFactor of X with Y is defined as difference of X and Y. Print the indices of the pair with maximum randomnessFactor.
Out of 150 students 14 were shortlisted for interviews.
I. A technical interview a. Use stack/queue or both to clone a doubly linked list, code for the same. b. Given an array of 0,1s, find the position of a 0 where you could place 1 so that distance between 1's is maximised. c. Given 2 strings S and T, determine if it's possible to convert S into T by rotating string S left or right any number of times. d. In a array all the numbers repeat twice except one, find the that number. e. Find factorial of a number without using multiplication. g. Questions reated to OOP concepts and their applications. h. OS and Computer Architecture questions. i. A brief discussion on projects mentioned in resume.
Only 6 students proceeded to next round.
II. Tech + Managerial Interview This round included deep discussion on projects followed by counter questions. One must be familiar with the algorithms used in the making of the project as well as its applications beyond. Highlights of the resume were discussed followed by some HR and behaviourial questions.
Finally 3 students received the offer, and I was one of them.
All the best!