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

SDE - 2

Microsoft
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Algorithms, System Design, Aptitude, OOPS
Tip
Tip

Tip 1 : Solve difficulty level of Medium DSA questions from LeetCode and HackerRank on daily basis.
Tip 2 : Refer and Solve DSA questions from GeeksForGeeks.
Tip 3 : Watch and Learn to solve System Design interview questions.

Application process
Where: Other
Eligibility: Above 2 years of experience
Resume Tip
Resume tip

Tip 1 : Keep it short.
Tip 2 : Focus on your current project.
Tip 3 : Mention how your work contributed the Organization growth.

Interview rounds

02
Round
Medium
Face to Face
Duration60 minutes
Interview date18 Nov 2021
Coding problem2

Two DSA questions to solve

1. Print all the prime numbers that lie in the range 2 to N

Moderate
0/80
Asked in companies
Livekeeping (An IndiaMART Company)BarclaysMicrosoft

Given an integer N, print all the prime numbers that lie in the range 2 to N (both inclusive).

Try solving now

2. Maximum Width of a Binary Tree

Moderate
38m average time
50% success
0/80
Asked in companies
MicrosoftAmazonGE (General Electric)

You have been given a Binary Tree of integers. You are supposed to return the maximum width of the given Binary Tree. The maximum width of the tree is the maximum width among all the levels of the given tree.


The width of one level is defined as the length between the leftmost and the rightmost, non-null nodes in the level, where the null nodes in between the leftmost and rightmost are excluded into length calculation.


For example :
For the given binary tree

Example

The maximum width will be at the third level with the length of 3, i.e. {4, 5, 6}.
Try solving now
03
Round
Medium
Face to Face
Duration60 minutes
Interview date18 Nov 2021
Coding problem1

This round had some questions from OOPS and Design Patterns.

1. Design Pattern Question

Design a Publish-Subscribe model

04
Round
Medium
Face to Face
Duration60 minutes
Interview date18 Nov 2021
Coding problem1

This round majorly focused on past projects and experiences from my Resume and a standard System Design question which an SDE-2 is expected to know.

1. System Design Question

Design a Chat application like Whats App/Facebook Messanger

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 - 2
3 rounds | 9 problems
Interviewed by Microsoft
2056 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Microsoft
1651 views
0 comments
0 upvotes
company logo
SDE - 2
5 rounds | 7 problems
Interviewed by Microsoft
1649 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Microsoft
7377 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29892 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6765 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5280 views
0 comments
0 upvotes