Microsoft IDC Interview Experience | Set 88 (For SDE-1)
Position : SDE BING TEAM
1. Skype round :
- Brief about agile software development process (as mentioned in my CV)
- Detect whether the linked list is circular.
- Check whether the number is a power of 2.
- Check whether two trees are identical.
- Given an array which is first increasing and then decreasing, find the index where it changes from increasing to decreasing.
2. F-F round 1
- Find the LCA in a binary tree.
I gave the recursive solution as given in geeksforgeeks. Then he asked to give a solution without recursion. Then on asking for hints he said something related to heights and some modification is allowed in tree. So i did it using the parent pointer.
3. F-F Round 2
- Clone a linked list with a random pointer.
- Given an array , find a subarray with the sum closest to zero (i gave O(nlogn) solution).
The interviewer was very co-operative. He gave a lot of hints to optimize the solution.
4. F-F Round 3
- Given two sets of strings A and B. Find the (A-B) U (B-A) ( U = union ). The answer should be in lexicographical order and A’s elements should appear before B’s.
5. F-F Round 4
- He asked about my current project and since i am in android app development currently. So he asked questions like how many active users do u have.Whats the size of the app. Why such a big app?. How can u increase the usability?He wanted to check the ownership skills.
Don’t ignore this round. Be prepared for such questions. Do ask for hints each time. The interviewer will guide you to the solution.
Thanks a lot geeks for geeks
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to firstname.lastname@example.org. 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. Google , E-Litmus and Microsoft Test Serieses.