You have a building with 100 stories. You also have two glass balls. You can drop the glass balls as many times as you want before they break. How can you find the floor at which they start breaking with the fewest number of drops?
Development Engineer Interview Questions
37,123 development engineer interview questions shared by candidates
A rotated sorted array (e.g. 34512), find the rotation count (in this case, 3 means rotated by 3).
How to test a clock
Given a balance and marbles where one marble weighs more than the other, how many times do you have to use the balance to find the heaviest marble for 7 marbles. Then, extend that answer to how many marbles can you weigh with 4 tries.
You have an array of length n consisting of the integers from 0 through n-1 exactly once each, except for one which is missing. Find the missing number. The numbers can be in any order.
Most of the technical questions, I felt very prepared for. The most difficult questions were behavioral. In particular, "Tell me about an experience where a project partner enjoyed working with you." Rather than talking about your skills you have to talk about how you worked well with others in a way that they enjoyed working with you, and do so without coming off as being arrogant. Also, they didn't ask the question directly, but came to it in a way that put you on the back foot. The question immediately before was to tell them about a time that you had difficulty working with a partner, and also about a time that a partner had difficulty working with you.
How many lines of code have you written in your favorite project?
Find the middle point of a linked list in best possible way
Find two smallest elements in an unsorted array using only one pass i.e. O(n)
based on user input, return an updating list of us cities as the user types. example: user input = s return= san fran, san antonio, seattle.... user input = e return = seattle, seguela, sebba... and so on
Viewing 471 - 480 interview questions