The fly round was about 45 minutes. The student had to write code for 2 problems on paper.
- Write a function that takes a sentence. You have to return that sentence having words in reverse order.
Input: He is not coder.
output: coder not is He.
- Maximum Product Subarray.
According to my thought, Don’t think to solve the question fast ( It will be better If you are fast.), You can take your time, Write a beautiful code ( clearly understandable to anyone, eg if you are using helping array, then choose the name for this wisely like MinSum[], SmallestInt[],CurAns[]).
Microsoft Interview Experience | Set 129 (On-Campus for Internship)
Contact Us