Why do you want to work for Microsoft?
Software Development Interview Questions
37,027 software development interview questions shared by candidates
Started with 8-10 behavioural questions followed by a technical question. Technical question was to find the max sum of a subarray of a given array (Kadane's Algorithm)
You have one balance tab and 9 marbles. One of the marbles is heavier that the other 8 (which have the same weight). Having only two chances to use the balance tab, find the heaviest one.
Write an algorithm to convert from RGB to HSV
Design an algorithm that calculates the width of a container based on the widest button nested inside the nth container.
Given a list of n unsorted key-value tuples which are too large to fit in memory, return the k tuples with the greatest value where n is several orders of magnitude greater than k. This list may be dispersed across multiple machines.
Given a list of movement commands (up, down, left, right, undo previous action), write a function that returns the final (x,y) coordinate. Followup: how would you handle other kinds of commands and undoing them? What kind of design pattern is this?
Given two very large timestamped sorted log files that do not fit in memory (possibly on different machines), merge them in timestamp order. Provide some test cases.
I was sked a variety of questions surrounding the more advanced areas of C# and JavaScript.
You have a linked list. Determine whether there is a loop in the linked list. Determine first cell in the linked list that is part of the loop.
Viewing 3501 - 3510 interview questions