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

SDE - Intern

Microsoft
upvote
share-icon
1 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Dynamic Programming, Graphs , Two Pointers, Trees, Linked Lists, OOPS, Hashing and Heaps, Stacks and Queues, Database Management Systems, Probability, System Design.
Tip
Tip

Tip 1 : Try to give the weekly and biweekly contests on LeetCode before atleast 2-3 months from the start of interviews as these questions are mainly based on Data Structures, most of these are directly asked in interviews. These will also help in accelerate your speed of writing codes and it will help during interviews as we are often asked to write codes or pseudocodes most of the times. I followed this approach and got a lot of benefit.
You can check my LeetCode Profile here: https://leetcode.com/vsam09_iitg/
Tip 2 : Try to complete the Interview Bit or LeetCode (prefer only one as both have similar type of questions) before the start of interviews and start solving it from 3 months before as it will took time to complete it. If you get stuck in some question, don't try to directly see the solutions. First try to see the hints mentioned there. Then try to read the discussion forum and try to code it yourself. This approach will help you as sometimes same questions are being asked in the interviews and if we haven't coded it yourself then sometimes it creates trouble in the important interviews. 
Tip 3 : Try to maintain 2-3 good projects in which you can speak for about 10-15 minutes. Try to have a complete or necessary background information about the technical details of the project. For example in Web Development projects, try to have necessary information on Database Management.
Tip 4 : Do give mock interviews on interview bit/ proxy before the interviews as it will help you in kept calm and confident during the interviews and help you to better explain the interviewer your explanations regarding your solutions.

Application process
Where: Campus
Eligibility: 8+ CGPA
Resume Tip
Resume tip

Tip 1 : Try to showcase only important information in each section. For example in Projects section, try to list the purpose of the project, how it is beneficial for others, technologies it uses etc. 
Tip 2 : Try to make the resume as precise and short as possible since most of the interviewers prefers short and clear resumes as it makes easier for them to ask different questions. 
Tip 3 : Try to highlight the important points in which you are proficient or if it is a big achievement in bold as it directs the attention of the interviewer towards those points more and is often likely to ask about those points.
Tip 4 : Try to have some good achievements regarding coding events and hackathons like good rank in Google KickStart, good LeetCode Rating etc as it will help you to showcase yourself to interviewer in your coding skills and different areas.

Interview rounds

01
Round
Easy
Online Coding Test
Duration90 minutes
Interview date17 Aug 2020
Coding problem3

The test was held on Mettl Platform in online mode from 10:00-10:15 AM joining time for 90 minutes.

1. Infix To Postfix

Easy
20m average time
80% success
0/40
Asked in companies
DelhiveryOracleExpedia Group

You are given a string 'exp' which is a valid infix expression.


Convert the given infix expression to postfix expression.


Note:
Infix notation is a method of writing mathematical expressions in which operators are placed between operands. 

For example, "3 + 4" represents the addition of 3 and 4.

Postfix notation is a method of writing mathematical expressions in which operators are placed after the operands. 

For example, "3 4 +" represents the addition of 3 and 4.

Expression contains digits, lower case English letters, ‘(’, ‘)’, ‘+’, ‘-’, ‘*’, ‘/’, ‘^’. 


Example:
Input: exp = ‘3+4*8’

Output: 348*+

Explanation:
Here multiplication is performed first and then the addition operation. Hence postfix expression is  3 4 8 * +.


Try solving now

2. Most Frequent Word

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

You are given two strings 'A' and 'B' of words. Your task is to find out the most frequent and lexicographically smallest word in string 'A', which is not present in string 'B'. If no such word is present in 'A', then return -1.

Note:

1. A word is a sequence of one or more lowercase characters.

2. Words are separated by a single whitespace character.
Example:
For the given string 'A' = “coding ninjas coding ninjas” and 'B' = “data structures and algorithms”, so both the word 'coding' and 'ninjas' are not present in string 'B' and occur two times each, but the word “coding” is lexicographically smaller than the word “ninjas”. So the answer is “coding”.
Try solving now

3. Regular Expression Match

Easy
10m average time
90% success
0/40
Asked in companies
HCL TechnologiesAckoAmazon

Given a string ‘str’ and a string ‘pat’. The string s has some wildcard characters i.e ‘?’ and ‘*’.

If any character is a ‘?’ we can replace that character with any other character. 

If a character is a * we can replace * with any sequence of characters including the empty sequence.  

Your task is to determine if it is possible that we can make ‘str' = 'pat’ using appropriate conversions in ‘str’.

For example:
Let str = “abc?" and pat= “abcd”

We return true as ‘?’ can be replaced with ‘d’ and this makes ‘str’ and ‘pat’ same.
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
2318 views
2 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Microsoft
1353 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by Microsoft
1986 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Microsoft
632 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15606 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
6390 views
3 comments
0 upvotes