During the winter break, my friend XYZ asked me to help him improving his driving techniques in order to get his driver’s license as soon as possible. One day, after we finished our lunch at an Indian buffet, he gave me a question which was claimed by him to be an interview question from a company F.
Q: There are distinct integers in a pool. Every time you draw one integer (with replacement) from the pool uniformly at random. If this integer has not been drawn before, then you add it to the list of previously drawn integers. Now, what is the expected number of draws needed to obtain a list of integers?
A: .
Define as the number of draws when we obtain a length list of drawn intgers and as the number of draws we need given a length $i-1$ list of drawn integers. Due to the linearity of expectation, . And we can see that . Therefore, .