Hello guys, recently I interviewed at Microsoft and able to crack it. So I thought to post overall interview experience with you.😃
Status: 1.7 years work experience
Position: SDE1 at Microsoft
Location: Noida/Hyderabad/Bangalore, India
Date: March 2022
Interview Process:
1.Codility Round:
- 10 MCQs (Based on Operating Systems, Networking, Algorithms)
- 2 Coding Questions (DP(Medium-Hard) + Graph(Medium-Hard))
Note: One needed to score more than 50% in order to clear this round.
PS: After 1 week, recruiter contacted me and confirmed the next interview rounds.
She mentioned that each round is Eliminatory round and in total there will be 3 technical rounds and 1 Hiring Manager round
2. Technical Round 1:(DS/Algo + Operating Systems)
- Question 1: A number is given in format of string , add 1 to the number and return the output as string(Easy).
Follow-ups:
- Can you do it in place??
- Question 2: It was based on Locks/Semaphores and whenever I was answering any question then he was going in depth of the question.
int i=0;
void thread1()
{
while(true)
{
if(i%2==0)
{
cout<<"Even\n";
i+=1;
}
}
}
void thread2()
{
while(true)
{
if(i%2==1)
{
cout<<"Odd\n";
i+=1;
}
}
}
3. Technical Round 2:(DS Algo + LLD)
- Question 1: Longest valid parentheses(Easy-Medium).
- Questions 2: Design Parking Lot.
4. Technical Round 3:(Operating Systems + HLD)
- Question 1: A program was given where some allocation of memory was happening.
Interviewer provided the specification of computer (4 GB Ram, 1 TB HD, Single Core CPU), and asked me the problem that can happen while doing allocation.
void allocation()
{
while(true)
{
void *a = (void *)malloc(4*1024*1024);
if(!a)
{
cout<<"-1"<<endl;
}
}
}
- Question 2: Design 1:1 chat feature similar to Whatsapp.
PS: In the evening I got to know that the responses of all rounds were positive and they are proceeding with last AA round
5. AA Round:
- Why you are looking for a change?
- Why you are interested in azure (Specifically the role for which i was interviewing)?
- From where you came to know about this job opportunity?
- Tell me a time when you missed the deadline for a task? and what you learnt from that?
- Which is your preferred location?
PS: At the end of round, he gave me a hint that : I will be a good fit for this role and in 2 days recruiter will contact me.
In the last , I would like to thank Leetcode for providing such a great platform where we can brush up our technical skills.
My Leetcode Stats:
