Open In App

Microsoft Interview experience | Set 105 ( Global Delivery )

Online-screening test: It was of around 90 minutes and was divided in 3 individual tests as follows:

Round 1: Technical interview (70 -80 min)
Interviewer asked favorite subjects apart from data structures and algorithms. I told him dbms and oops.



  1. Define joins in SQL and explain them. I explained him inner, left, right and outer join. Then he asked me about axis join.
  2.  Define keys. Surrogate keys, primary keys, foreign keys, candidate keys and super keys. Then he named around 4 more keys which I didn’t know.
  3.  What is encapsulation? Explain with example. How is it useful?
  4.  If one class B is inheriting a class A which has a private function, what keyword will you append in function definition to use that in class B? I said by making that function friend. Some more follow up questions on it.
  5. Convert binary tree to doubly linked list (https://www.geeksforgeeks.org/in-place-convert-a-given-binary-tree-to-doubly-linked-list/)
  6. Longest incremental subsequence (https://www.geeksforgeeks.org/dynamic-programming-set-3-longest-increasing-subsequence/
  7.  Swap two numbers without using temp variable: Asked 3 approaches (https://www.geeksforgeeks.org/swap-two-numbers-without-using-temporary-variable/amp/ )
  8.  Check linked list is palindrome or not(https://www.geeksforgeeks.org/function-to-check-if-a-singly-linked-list-is-palindrome/amp/)
  9.  In-place rotate n*n matrix to 90 degrees ( https://www.geeksforgeeks.org/inplace-rotate-square-matrix-by-90-degrees/amp/)
  10.  Find two rectangles overlap (https://www.geeksforgeeks.org/find-two-rectangles-overlap/amp/ )
  11.  Print 1 to 100 without using recursion and loops. Give generic solution
  12.  Test cases for water bottle. And some more questions on strings and software testing which I am not able to recall.

2nd round Tech + HR: (50- 60 min)
Basic HR questions. Where do you see yourself in 5 yrs, why do u want to join Microsoft etc. Print all prime nos from 1 to 100. Design elevator algorithm which responds in least possible time. SQL query to find nth highest salary of an employee. Explain IOT in layman terms, cryptography, software testing methods, how do you handle stress, strategy to study the tough subject, what if we do not select you etc. Discussion on my projects.

3rd round: HR (60 – 65 min)
Tell me about yourself, discussion on my projects, why I used a particular technology in project, what other technology I could choose, asked almost everything from the resume, priorities in life, why Microsoft, what people say about you: positives, negatives and how you are working on it, what if we don’t select you etc. Interviewer was awesome and it was fun talking to him.



My whole experience was amazing. Study DBMS, SQL and data structures thoroughly. Also do give a look at puzzles. If you do not know anything, say no simply. Be confident.

I would like to thanks GeeksforGeeks.org and GeeksQuiz a lot for wonderful collection.

Article Tags :