You have three water jugs, one holds 8 gallons, one 5, one 3. The 8 is full. By pouring water between jugs, fill two of the jugs with 4 gallons of water each.
Development Engineer Interview Questions
37,489 development engineer interview questions shared by candidates
Which Microsoft Product you most like and dislike
The interviewer had the code from the previous interviewee still on the white board in the room. He asked me to identify what the code did (printed the contents of a binary tree through a BFS using a queue). Then asked me to identify the bugs with the code and suggest how to fix it (null-pointer exceptions when printing out the values from the queue and checking for nulls before adding a value to the queue).
Logic to find the LCA of tree and node has pointer to parent node.
LRU Cache, Binary Search, Hash Map
Given an array of data, find all of the local maximum.
Remove repeated consecutive substring from inout string
Read XML file and create N-array tree
Explain recursion to a 6 years old Fruits and Baskets problem You have 9 marbles, one a bit heavier and a balance, determine which one is the heavier marble from just 2 measurements.
Simple design questions like messaging and elevator controller
Viewing 2151 - 2160 interview questions