Write a routine that does secret santa in O(N) time.
Programmer Analyst Ii Interview Questions
716,548 programmer analyst ii interview questions shared by candidates
Giving you a starting position on a chessboard. Giving you an end position. If you are only allowed to walk diagonally, how many steps do you need to take to get to the end position?
Given a very long string composed of numbers as characters, find the four character substring that has the largest multiple. For example, given the string "809723", the two char substring with the largest multiple is "97", having a multiple 9*7 = 63.
questions based on your test, problem solving approach, java multithreading, query optimization etc.
How would you pick the middle element of a list
Write a piece of code to find the square root of a number.
Merge to sorted arrays into second array, both arrays has N elements, but second array size is N * 2. So you merge both arrays in second array in a sorted way.
You have 4 aces and a king in a set of cards, what's the probability of get kind before all aces.
Sequence of numbers in random order and 1 of them is missing how to find that out...
The second question is that there are 8 buttons, 7 of them are some, one is a bit little heavier, and you have a balance, how could find the heavier one, you can just use the balance twice.
Viewing 1511 - 1520 interview questions