Recently, Morgan Stanley visited our campus for the written exam for December placements. Here are the questions for the written round.
3 questions coding + 30 objective
Total Time – 1:30 hr
Objective Ques were simple – C/C++ prog, , input/output, logical ques.
2. Given a number N. We can divide the number into N/2,N/3 and N/4 at a time rounding all these to integer value. Now you can repeat above procedure for newly generated numbers.Get the maximum number that you can generate from a given number.
Example – Given Number = 12
12 –> 6 + 4 + 3
6 –> 3 + 2 + 1
4 –> 2 + 1 + 1
3 – > 1 + 1 + 0
So max number generated = 13 (6+4+3).
3. Various dates are given to us in a specific format. Find the least date among them.
example – Given-
13 Jan 2014
24 Dec 1994
08 Feb 2000
Ans – 24 Dec 1994
Hope this will help you all.
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.