If you have unmarked two buckets which you know are 3 and 5 gallons in volume and an unlimited supply of water, how would you get exactly 4 gallons of water?
Software Interview Questions
748,807 software interview questions shared by candidates
write a function to set a particular field of register to the desired value. ( For example, set bit 3 - 10 of a word to the given value)
What is the running time of quicksoft?
First question: for a random-ordered bucket of numbers 1 through 3000 with one number missing, how would you detect which number is missing?
Implement stack using a queue
Reverse a linked list (warm up question).
Isomorphic trees
Write a palindrome-checking function
Solve the skyline problem
I am in a 100-story building. I have with me two glass balls. I know that if I throw the ball out of the window, it will not break if the floor number is less than X, and it will always breaks if the floor number is equal to or greater than X. Assuming that I can reuse the balls which don't break, find X in the minimum number of throws.
Viewing 2131 - 2140 interview questions