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

SDE - Intern

Microsoft
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Data Structures, Algorithms, React.js, Node.js, CS Fundamentals
Tip
Tip

Tip 1 : Make sure to go through the recent interview experience for the same role
Tip 2 : Keep your DSA and CS Fundamentals clear
 

Application process
Where: Company Website
Eligibility: Microsoft Engage
Resume Tip
Resume tip

Tip 1 : Projects related to Web development or ML/AI
Tip 2 : Good Coding profiles

Interview rounds

01
Round
Medium
Online Coding Interview
Duration45 minutes
Interview date20 May 2021
Coding problem1

MCQs and Short Answer type questions related to DSA and CS Fundamentals

1. Merge Sort

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

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm -

Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

subsequence

The above illustrates shows how merge sort works.
Note :
It is compulsory to use the ‘Merge Sort’ algorithm.
Problem approach

Given short description and code snippet

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date10 Aug 2022
Coding problem1

Brief introduction about my projects and Engage program

1. Balanced parentheses

Moderate
10m average time
90% success
0/80
Asked in companies
SalesforceAmazonMicrosoft

Given an integer ‘N’ representing the number of pairs of parentheses, Find all the possible combinations of balanced parentheses with the given number of pairs of parentheses.

Note :

Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.

2. Open brackets must be closed in the correct order.

For Example :

()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Problem approach

Brute force using loop
Then using stack
Space optimized using 2 pointers

Try solving now
03
Round
Easy
Video Call
Duration60 minutes
Interview date24 Aug 2022
Coding problem1

Brief introduction about projects, mostly about the Engage program

1. Path In A Tree

Moderate
0/80
Asked in companies
AmazonMicrosoftFacebook

You are given a binary tree with ‘N’ number of nodes and a node ‘X’. Your task is to print the path from the root node to the given node ‘X’.

A binary tree is a hierarchical data structure in which each node has at most two children.

Example:
Here, for ‘X ’= 7, the output will be 1 3 7.
Problem approach

Was able to solve for returning the right node by returning the next node in the level order traversal
Was able to give the path after getting the right node.
But the interviewer wanted both to be calculated simultaneously and I was not able to explain that in the given time.

Try solving now

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 8 problems
Interviewed by Microsoft
2317 views
2 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
1352 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by Microsoft
1985 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Microsoft
631 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15605 views
4 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 4 problems
Interviewed by Amazon
6389 views
3 comments
0 upvotes