Microsoft interview experience Real time questions & tips from candidates to crack your interview

Software Development

Microsoft
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: C++ basic Coding, Data structures knowledge, OOPs, Pointers, Dynamic programming, Recursion, Graphs , Hashmaps and Priority Queues
Tip
Tip

Tip 1 : Practice atleast(easy and medium questions under(Top Interview Questions)) and all the questions from must to do coding questions for interviews
Tip 2 : Don't learn each and every question you solved but try to solve question in a way that you can solve its variation during interviews
Tip 3 : Do one project(one is enough) which you can explain with full technical details (why you used this technology, and all logics you applied in implementation)

Application process
Where: Campus
Eligibility: CGPA above 6 and no backlogs (there was no branch criteria for eligibility)
Resume Tip
Resume tip

Tip 1 : Have at least one project which you have made yourself and you should know all the technical questions related to that project (I feel project domain hardly matters like web development or android or ML/AI)
Tip 2 : You should Put only those skills in resume :
1. Which the company requires (eg if you know company doesn't require Networking domain knowledge so 
don't include it unnecessary if you are not much confident in it)
2. For on campus internships resume shortlisting is very easy so don't add anything unnecessary which might cause you pain during interview.

Interview rounds

01
Round
Easy
Online Coding Test
Duration100 minutes
Interview date2 Nov 2020
Coding problem2

3 coding Questions:
1st : Easy question based on simple loop iteration
2nd : Medium level Data structure question 
3rd : Medium level tree question(where we were not just required to complete the tree function but to build whole best from 
scratch) 

It was conducted from 1:30 - 3:00 pm.
The coding platform was very good (as auto indentation and auto completion of brackets were there) having camera on.

1. Ninja and the Storyteller

Easy
15m average time
85% success
0/40
Asked in companies
OlaAdobeSamsung

Ninja is an avid story lover. Today, he decides to go to the famous Storyteller of Ninjaland to listen to new stories. The Storyteller takes 'Y' coins to tell one story. The Storyteller has also put on a special offer for Ninja that for every 'X' story that the Storyteller tells to Ninja, the Storyteller will tell one story to Ninja free of cost, i.e., without taking any extra coins. Ninja currently has 'Z' coins with himself. He wants to know how many stories the Storyteller will tell him if he goes to the Storyteller with 'Z' coins.

Try solving now

2. Buy and Sell Stock

Hard
0/120
Asked in companies
MyntraGrowwAtlassian

You are Harshad Mehta’s friend. He told you the price of a particular stock for the next ‘n’ days.


You are given an array ‘prices’ which such that ‘prices[i]’ denotes the price of the stock on the ith day.


You don't want to do more than 2 transactions. Find the maximum profit that you can earn from these transactions.


Note

1. Buying a stock and then selling it is called one transaction.

2. You are not allowed to do multiple transactions at the same time. This means you have to sell the stock before buying it again. 
Example:
Input: ‘n’ = 7, ‘prices’ = [3, 3, 5, 0, 3, 1, 4].

Output: 6

Explanation: 
The maximum profit can be earned by:
Transaction 1: Buying the stock on day 4 (price 0) and then selling it on day 5 (price 3). 
Transaction 2: Buying the stock on day 6 (price 1) and then selling it on day 6 (price 4).
Total profit earned will be (3 - 0) + ( 4 - 1) = 6. 
Try solving now
02
Round
Easy
Online Coding Test
Duration90 minutes
Interview date10 Nov 2020
Coding problem2

This was a completely technical coding round where I was asked to solve the problems of data structures.

1. Min cost Path

Moderate
0/80
Asked in company
Microsoft

Given an integer matrix of size m*n, you need to find out the value of minimum cost to reach from the cell (0, 0) to (m-1, n-1).

From a cell (i, j), you can move in three directions : (i+1, j), (i, j+1) and (i+1, j+1).

Cost of a path is defined as the sum of values of each cell through which path passes.

Try solving now

2. Time to Burn Tree

Hard
50m average time
50% success
0/120
Asked in companies
SprinklrShareChatZomato

You have a binary tree of 'N' unique nodes and a Start node from where the tree will start to burn. Given that the Start node will always exist in the tree, your task is to print the time (in minutes) that it will take to burn the whole tree.


It is given that it takes 1 minute for the fire to travel from the burning node to its adjacent node and burn down the adjacent node.


For Example :
For the given binary tree: [1, 2, 3, -1, -1, 4, 5, -1, -1, -1, -1]
Start Node: 3

    1
   / \
  2   3
     / \
    4   5

Output: 2

Explanation :
In the zeroth minute, Node 3 will start to burn.

After one minute, Nodes (1, 4, 5) that are adjacent to 3 will burn completely.

After two minutes, the only remaining Node 2 will be burnt and there will be no nodes remaining in the binary tree. 

So, the whole tree will burn in 2 minutes.
Try solving now
03
Round
Easy
HR Round
Duration20 minutes
Interview date16 Nov 2020
Coding problem1

It was held on Google meet platform
The interviewer was very experienced person and was very nice too.
He made me comfortable by first introducing himself in a very detailed way and then asking me mine introduction
Since I feel that his internet connection was not very good so he turned off his camera but I decided not to turn off mine as in online interviews your face reviles your confidence 
the interviewer mostly asked me questions about my interests in technical field and the project that I have done

1. Basic HR Questions

Introduce yourself

Why Microsoft?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which SQL keyword removes duplicate records from a result set?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 8 problems
Interviewed by Microsoft
1771 views
2 comments
0 upvotes
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Microsoft
6474 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Microsoft
639 views
0 comments
0 upvotes
company logo
SWE-1
4 rounds | 7 problems
Interviewed by Microsoft
3293 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Development
3 rounds | 5 problems
Interviewed by PhonePe
11974 views
0 comments
0 upvotes
company logo
Software Development
3 rounds | 4 problems
Interviewed by Amdocs
7829 views
0 comments
0 upvotes