Microsoft Software Engineer Interview Questions

41 microsoft software engineer interview questions shared by candidates

Assume that you are given the head and tail pointers of a doubly linked list where each node can also have a single child pointer to another similar doubly linked list. There are no cycles in this structure outside of the traditional double links. Write a procedure in C++ that flattens this structure into a single list.

Assume that you are given the head and tail pointers of a doubly linked list where each node can also have a single child pointer to another similar doubly linked list. There are no cycles in this structure outside of the traditional double links. Write a procedure in C++ that flattens this structure into a single list.

The second question was a system design question. Basically, how would you design a payroll system, then how to generate individual keys for a system, and he kept tagging more questions to the original system design question.
avatar

Microsoft Leap, Software Design Engineer

Interviewed at InConsulting

5
Aug 30, 2018

The second question was a system design question. Basically, how would you design a payroll system, then how to generate individual keys for a system, and he kept tagging more questions to the original system design question.

Write a function to determine if you can successfully take a picture of two football teams lined in front of each other. You can rearrange the players but you can not mix players from different teams on the same line. i.e one team must be in front of the other team. The function should just return true or false.
avatar

Microsoft Leap, Software Design Engineer

Interviewed at InConsulting

5
Aug 30, 2018

Write a function to determine if you can successfully take a picture of two football teams lined in front of each other. You can rearrange the players but you can not mix players from different teams on the same line. i.e one team must be in front of the other team. The function should just return true or false.

Viewing 1 - 10 interview questions

Glassdoor has 41 interview questions and reports from Microsoft software engineer interviews. Prepare for your interview. Get hired. Love your job.