We draw a person at random from the street. Then we keep drawing people until we find someone taller than the first person. What is the expected number of draws we have to wait?
Preguntas de entrevista para Algorithm Developer en espana
282 Preguntas de entrevista compartidas por los candidatos | algorithm developer
If I have a jar with 1000 coins and one is double headed and I pick one coin randomly and flip 10 heads what is the probability it is the double headed coin?
You have three sock drawers. One has red and blue socks, one has blue and green socks, and one has green and red socks. What is the expected number of socks you must pull to be sure which drawer is which, assuming that the number of socks of each color in each drawer is both large and equal?
Asked how to find the kth largest element of a sequence of n elements.
phone interview: (1) 3x3 large square, the surface is painted in red. After cutting into 27 pieces, just take one piece and throw it on the table. Five sides are white and white. Ask the probability that the last face is red. (2) X = the sum of 100 rolls of dice, Y = the number of heads of 600 coin flips, ask Pr (X>Y) (3) N points randomly in a circle. The probability that all of them lie in a semicircle
X,Y are iid standard normal. what P(Y>3X)
Spaghetti in a bowl question. (Pick up one end of a spaghetti and you can either join it to the other end of the spaghetti you are holding which created a loop or you can pick any other end in the bowl and join it to that. Find the expected number of loops.) Another spaghetti question (I think the interviewer loved spaghetti): You have a plate of spaghetti in front of you (no sauce!). You pick two ends and tie them together. Then you pick two more ends and tie them together. Continue until there are no free ends left. If there were n spaghettis originally, what is the probability that you now have a single giant loop consisting of all the spaghettis?
a person leaves from point A to B. simultaneously another is leaving from B to A. they meet at noon and continue with their paths. one reaches his point at 4 pm and the other at 9 pm. who much time did each of them walked.
For an unsorted array of integers in a given range, find the smallest missing positive integer
2nd : Code Case : In 7 days, I was asked to find a solution (through brute force or heuristic method) to a capacitated vehicle routing problem. 7 different orders will be delivered with 3 vehicles with different capacities and starting points. Find the minimum route according to the given distance matrix. Code with PYTHON
Viendo 1 - 10 de preguntas de entrevista