Coding test: spreadsheet calculator. First phone technical interview: find the top k elements in an array; probability question: you have two options: one is to shoot a ball one time and would be counted as success if you make it, the other is to shoot 3 times and would be counted as success if make at least two. Which one should you choose? 2nd technical phone interview: find the first node where two link lists meet; I forgot the second question.
Anoniem
For the probability question: If the probability of success in one shot is greater than 0.5 he should choose the two shot option. P(2 or more successes) = 3*p^2(1-p) +p^3 > p when p> 0.5