'Coding has over 700 languages', '67% of programming jobs aren’t in the technology industry', 'Coding is behind almost everything that is powered by electricity'
Microsoft interview experience Real time questions & tips from candidates to crack your interview
SDE - Intern
Microsoft
upvote
share-icon
5 rounds | 5 Coding problems
Interview preparation journey
expand-icon
Preparation
Duration: 6 Months
Topics: Data Structures, C++, Java, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Practice at least 300 coding questions.
Tip 2 : Be confident during the interview and never hesitate to ask if you are stuck. They will definitely help you out.
 

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Mention some good projects on your resume.
Tip 2 : Don't put false things on your resume.

Interview rounds
01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date16 Oct 2020
Coding problem3

Conducted on https://tests.mettl.com/ and contains 3 coding questions with different difficulty levels – Basic, Easy, and Medium and carrying marks accordingly.

Those who had solved at least 2 questions were selected for the next round. I was able to solve all of them and around 90 students were selected for the next round.

1. Find Division Upto Given Decimal Places
Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftIBM

You are given three integers ‘X’, ‘Y’ and ‘N’. Find the value of division X / Y up to ‘N’ decimal places.

View more
Try solving now
2. Longest Palindromic Substring
Moderate
20m average time
80% success
0/80
Asked in companies
FlipkartHCL TechnologiesGeeksforGeeks

You are given a string 'str' of length 'N'.


Your task is to return the longest palindromic substring. If there are multiple strings, return any.


...

View more
Try solving now
3. Smallest Window
Moderate
10m average time
90% success
0/80
Asked in companies
GoogleHSBCSnapdeal

You are given two strings S and X containing random characters. Your task is to find the smallest substring in S which contains all the characters present in X.

Example:

View more
Try solving now
02
Round
Medium
Coding Test - Pen and paper
Duration60 Minutes
Interview date17 Oct 2020
Coding problem2

It was a pen and paper-based round. 2 questions were given, and we have to solve them efficiently and specify our approach clearly.

Those who had solved both the problems efficiently and able to explain their ideas clearly were shortlisted for further rounds. 24 students selected for the interviews.

1. Connect Nodes at Same Level
Moderate
30m average time
70% success
0/80
Asked in companies
GoogleOlaMicrosoft

A binary tree is a tree where each node has at most two children i.e left child and right child.

You are given a binary tree, where the structure of the node is as follow -:

View more
Try solving now
2. Minimum Number of Platforms
Moderate
30m average time
70% success
0/80
Asked in companies
AmazonDunzoAtlassian

You have been given two arrays, 'AT' and 'DT', representing the arrival and departure times of all trains that reach a railway station.

View more
Try solving now
03
Round
Easy
Video Call
Duration45 Minutes
Interview date17 Oct 2020
Coding problem0

The interview started with a brief introduction about myself, the interviewer told me to continue for straight 5 mins (I only prepared for 2-3 mins so I started telling about what I have done in the college… So be prepared for it )

Then he moved on to the previous round question (2nd que of the group fly around). He had my solution and told me to validate my code for different test cases. The interviewer was trying to prove that my approach is incorrect by adding new edge cases every time but in the end, he was satisfied with the approach. He also asked about the implementation of Min-Heap since I have used it in my code. 

This discussion went around 30- 35 mins then he asked me about the different technologies that I have worked upon and a little discussion about them. In the end, I asked him a few questions about Microsoft life and the culture of Microsoft.

04
Round
Medium
Video Call
Duration60 Minutes
Interview date19 Oct 2020
Coding problem0

The interviewer was very cool, he was looking at my resume and I have written web series and cricket in the hobbies section, so he asked a few ques-

Can you name all the web series that you’ve watched? (He asked a few character’s names from GOT maybe he was just checking that I’ve watched it or not)
Fav player in cricket and why?
What do I do bowling or batting?
He told me since I have to manage lectures, labs, assignments, web series, cricket, and many other things so let’s do the job scheduling problem. . I took some time and came up with a recursive approach. He pointed out some edge cases that I was missing and asked me to correct them and I did so. Now he asked if I can use DP to further optimize this solution. I tried but not getting the correct approach then I asked him for help and finally, after 2 tries I was able to write it, and he seems satisfied as well.
What is a Binary tree?
What is a binary search tree?
He asked many questions, I asked a few-
-> Areas of improvement.
-> Technologies that I/everybody should know.
-> About work-life balance at Microsoft.

05
Round
Easy
HR Round
Duration45 Minutes
Interview date19 Oct 2020
Coding problem0

The interviewer asked, What is the name of your previous interviewers? I only remember the 2nd interviewer’s name since the 1st one didn’t tell me his name and I didn’t ask. She said You should have asked his name. (I made sure that I’ll ask her name in the end) then some quick questions-
Fav Data structure and why do you think this is your fav?
What is an abstraction in java?
Draw the class structure of an ATM.
Write the methods that you have used in the class structure of the ATM machine.
Write some strings. (Yeah you read it correctly!!!) I don’t know what kind of ques is this but I wrote some uppercase string, lowercase string, and a string with the value “String”.

Start a Discussion
Similar interview experiences
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
4511 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
6564 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Microsoft
3521 views
2 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
498 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
10954 views
4 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
7380 views
2 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 4 problems
Interviewed by Amazon
5476 views
3 comments
0 upvotes