whats is the difference between merge and join .
Programmer Intern Interview Questions
22,436 programmer intern interview questions shared by candidates
You have an array randomly filled with red, blue and green items. How do you order this list so the red items are at the beginning, followed by the blue ones, followed by the green ones? The algorithm should be in-place (no extra storage, or only constant extra storage) and the algorithm should only walk threw the array once (every position can only be read once).
How would you cut a rectangular cake into two equal pieces when a rectangular piece has already been cut out of it? The cut piece can be of any size and orientation. You are only allowed to make one straight cut.
I was given a logic question where you have 5 balls. One of the balls is heavier than the others. What's the fewest number of times you have to compare weights to figure out which ball is heavier.
They had a mix of technical and the weird type of manhole cover questions. I found the questions geared towards tripping you up. One question seemed to indicate a binary search, but that turned out to be the wrong approach. You have two XBoxes and a 100 floor building. If you drop the XBox from a floor it either shatters or it doesn't. How do you reliably find the highest floor from which you can drop your XBox? Both XBoxes can break in the process. How many trials does your approach take in the worst case?
write a sql query to swap the genders i.e. from male to female and vice versa ?
Write code to return a sorted array of int, when passed in 2 sorted array of int to the method.
See above for type of question?
Do you have any children?
what is 2^4
Viewing 21 - 30 interview questions