Quote:
I tried to understand the question from 15th sep 2020 till now but, I am unable to understand the question.
This comes from a challenge site, they usually provide forums for users, they will probably be able to help you as they are working on same problem.
You forgot to give link to the problem.
Exact wording matters in those problem, but we gave no way to know what is the real question.
[Update]
Quote:
Now Alice wants to know the expected number of turns until K distinct elements are generated.
The problem is badly posed because it makes assumptions on the behavior of random.
One can as well assume that k is the answer for any input.