There are n children standing in a line, numbered from n
Initially, at time n
Return the index of the child who is holding the ball after k seconds.
Constraints:
n
k
There are n children standing in a line, numbered from n
Initially, at time n
Return the index of the child who is holding the ball after k seconds.
Constraints:
n
k