Microsoft

www.microsoft.com
www.microsoft.com

# Microsoft Software Development Engineer (SDE) Interview Questions

Updated 3 Sep 2014
Updated 3 Sep 2014
10 Interview Reviews

55%
22%
22%

41%
22%
19%

3.3
Average

Hard

Average

Easy

## 10 Candidate Interview Reviews Back to all interviews

Sort: Popular Date Difficulty

## Software Development Engineer (SDE) Interview

Interview Details

informational + 4 interview rounds all coding and algotithm

Interview Questions
No Offer

1.

## Software Development Engineer (SDE) Interview

Application Details

I applied through other source. The process took 2 daysinterviewed at Microsoft in July 2012.

Interview Details

I was did my summer internship in Microsoft India. The interviews were part of converting the internship to Full Time Employment.
I had 3 interviews on different days. My performance in the interviews were not great. But I was given the offer because Microsoft was hiring massively for Bing and review from my mentor was positive.
(I have listed all the questions in the interviews)

Interview Questions
• Consider a linked list with two pointers where the 1st pointer is the normal next pointer and the second one randomly points to some other node in the list. Given such a list as input clone it.   Answer Question
• Find the largest palindrome in a given string. Come up with the best algorithm you can.   Answer Question
• There are n petrol bunks arranged in circle. Each bunk is separated from the next one by a certain distance. You choose some mode of travel which needs 1 litre of petrol to cover 1 km distance. You can't draw any amount of petrol from each bunk, but each bunk has some limited petrol. Find if there is any point in the circle from which you can start? If there is one such point find the point.   Answer Question
• Implement a variation of stack with push,pop and getmin in O(1) complexity   Answer Question
• Given:2 sorted arrays, one of size m and other of size m+n, but in the 2nd array only n elements are present.
Arrange both the sorted arrays in the bigger array. Finally the bigger array should be sorted.

Reasons for Declining

Got a better job in campus placements in my college.

Declined Offer
Neutral Experience
Average Interview
2.

## Software Development Engineer (SDE) Interview

Application Details

I applied through a recruiter. The process took 2+ monthsinterviewed at Microsoft in August 2014.

Interview Details

One of the their recruiters contacted me on LinkedIn around mid June, after the initial talks had my phone screen 2 weeks after and attended a recruiting event in Vancouver a month after that only duo to my own availability! They HR team accommodated my every need and worked around my schedule!!
As for the offer it took around a week and then another weeks or so for us to work on my counter offer! After that another week or so of background checks!
Overall it has been exciting and very efficient process!

Interview Questions
• Similar to other bigger companies mostly around data structures, designs and solving challenging stuff on the board in an hour slot interviews.   Answer Question
Negotiation Details
negotiations were very smooth, I didn't shoot for the moon and neither felt like that my HR contact is working against me. Offers in Vancouver will be less glorious compared to states but that's a reality. As for the competitiveness in local market, I would say it is a generous offer!
Accepted Offer
Positive Experience
Difficult Interview
3.

## Software Development Engineer (SDE) Interview

Application Details

I applied through college or university. The process took 2 weeksinterviewed at Microsoft in May 2014.

Interview Details

Contacted by recruiter through school. Had a simple HR screening interview before onsite. Onsite had 4 interviews, questions were mostly algorithmic.
Interview questions:
1. Given an unsorted array of numbers from 1-n with a number missing, find the missing number.
2. Given a dictionary and a function that returns if a work is in the dictionary, create a function that takes a non-space delimited string and outputs the same string with words separated by spaces.
3. I forget the 3rd one.
4. Given a matrix of 1s and 0s, replace every value in a column or row with 0 if 0 is in it.

Interview Questions
• Given a dictionary and a function that returns if a work is in the dictionary, create a function that takes a non-space delimited string and outputs the same string with words separated by spaces.   View Answer
No Offer
Positive Experience
Difficult Interview
4. Is this helpful? The community relies on everyone sharing – Add Anonymous Interview Review

5. 3 people found this helpful

## Software Development Engineer (SDE) Interview

Application Details

I applied through a recruiter. The process took a weekinterviewed at Microsoft.

Interview Details

I was contacted by a recruiter via mass email which stated there was a hiring event for the Cloud OS team. The email directed me to send a reply email with my most current resume and fill out a survey which asked general questions about my education, goals, and professional (coding/project) experience.

The same recruiter called me back within two days and we chatted briefly about my career goals. After a 30 minute (non-technical) chat the recruiter invited me to take the OTS which would be a basic skills assessment on elementary concepts such as trees, linked lists, queues, etc. "some things I may not have seen in a while."

I'm not through with the process but I wanted to get this question up before I forgot it as there were not a lot of example questions online re: the OTS. I hope it helps someone else!

Interview Questions
• You are writing a simulation for a print server. This print server can accept jobs from 3 places - network, USB, or operator. It can dispatch only one job at a time. Each input job should contain an integer t which is the time in seconds it will take to process the job. Write a multi-threaded program to simulate the server and provide some simulated load with jobs. Think, of some interesting statistics your program should emit and code them in.   Answer Question
• Write a function that takes a string as an input and outputs an integer, e.g. turning "1234" into 1234.   View Answers (3)
No Offer
Positive Experience
Difficult Interview
6.

## Software Development Engineer(SDE) Interview

Application Details

I applied through college or university. The process took a dayinterviewed at Microsoft.

Interview Details

Phone interview, then on-site

Interview Questions
• Given a random array, how can you find the median without using any know sorting algorithm?   View Answers (2)
No Offer
Negative Experience
Difficult Interview
7.

## Software Development Engineer(SDE) Interview

Application Details

I applied through college or university. The process took a weekinterviewed at Microsoft in December 2012.

Interview Details

after they screened my resume, they replied within 2 days with an email to choose a phone interview time.
the overall interview was easy for a phone interview, but I guess the recruiter didn't get all of my answers quite well (it was the end of the day for him btw).

Interview Questions
No Offer
Positive Experience
Average Interview
8. 1 person found this helpful

## Software Development Engineer (SDE) Interview

Application Details

I applied through college or university. The process took 4+ weeksinterviewed at Microsoft in November 2012.

Interview Details

Got a call oncampus for the first round. I could come up with an optimized solution.
Got an onsite call after almost a month. Questions were pretty simple. I guess I talked about vim/linux a bit too much. Probably not the place for me to go!

Interview Questions
• [Oncampus] Given list of sorted lists, find the k smallest elements out of all the lists   Answer Question
• [Round 2] 1) Implement Stack 2) Implement Factorial   Answer Question
• [Round 3] 1) Check for BST property 2) Arrange two sorted lists to get a sorted list without duplicates and another list with the duplicates.   View Answer
No Offer
Negative Experience
Average Interview
9.

## Software Development Engineer (SDE) Interview

Application Details

I applied through college or university. The process took 2 weeksinterviewed at Microsoft in October 2012.

Interview Details

I contacted microsoft through an ad going around on my friend's facebook. They were holding a recruiting event in Istanbul for bing development. I contacted the recruiter through email who then forwarded me to a coordinator who fixed me an appointment with a programmer to do a skype and live coding interview.
The programmer contacted me on time, asked me a few questions about myself, the guy was very friendly. He asked me one puzzle only, which I first answered with a bad running time, he then asked me to enhance it, but I was too stressed and I messed the interview up.

In general the contact was smooth and people were polite. you just need to be prepared, solve problems proposed on this site from other interviews and from programming interview books and you should be fine. I'll contact them and try again later when I'm more prepared

Interview Questions
• 1- Given an array of integers, positive and negative. find an interval in that array, whose elements constitutes the maximum sum   View Answers (3)
No Offer
Positive Experience
Easy Interview
10.

## Software Development Engineer(SDE) Interview

Application Details

I applied in-person. The process took a dayinterviewed at Microsoft in August 2008.

Interview Details

There were 4 interview in a day, each long about 1 hour.
Each interview consits of 3 part: logic question, coding question, other questions.

If you don't know how to solve task - don't be silent, ask questions!

Interview Questions
Accepted Offer
Neutral Experience
Average Interview

## Microsoft

Click to Rate
or

The difficulty rating is the average interview difficulty rating across all interview candidates.

The interview experience is the percentage of all interview candidates who said that their interview experience was positive, neutral or negative.

Your response will be removed from the review – this cannot be undone.