Skip to content
Related Articles

Related Articles

Microsoft Interview Experience for SDE (Off-Campus)
  • Difficulty Level : Easy
  • Last Updated : 01 Apr, 2021
GeeksforGeeks - Summer Carnival Banner

I applied to Microsoft’s Off-Campus full-time SDE drive on their career website. After a week I received a link for the exam. 

Round 1(Online test): This round consisted of three questions for 90 mins. 

  1. Basic string question based on encoding decoding.
  2. Find the length of longest sub-sequence of a given sequence such that all the elements of the sub-sequence are sorted.
  3. A dp problem (I don’t remember).

Round 2 (WIT Hackathon): In this round, I was asked to pick a topic from a list, and I was asked to develop a web application based on the topic I picked. An employee from Microsoft was assigned a mentor. There was an initial doubt clearing session then a small meeting with a mentor to discuss my idea and implementation and a final meeting to demonstrate our final product. I used HTML, CSS, and python (flask) to build the application.     

Round 3 (Technical Round):

  1. Tell me about yourself.
  2. Then some questions related to my projects. 
  3. How to reverse a stack. (First I came up with a solution using an extra array. But, the interviewer wanted me to not use any extra space. Then I came up with a solution using two recursive functions. I was asked to implement this. Then after a short discussion about its time and space complexity interviewer asked me to come up with implementation such that it uses o(1) extra space and its time complexity is o(n) to reverse a stack. I came up with a solution using a linked list and implemented it.)
  4. Do you have any questions for me?

Round 4 (Technical Round):

  1. Tell me about yourself.
  2. Then some questions related to my projects. 
  3. What are deadlocks and how to prevent them?
  4. What is the difference between mutex and semaphore?
  5. Given time find the angle between the minute and hour hand.
  6. How will you implement undo and redo option using the data structure?  
  7. Do you have any questions for me?

The next day HR called me and told me that I was selected 🙂

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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :