Given $n$ children sitting in a circle indexed from 1 to $n$, a total of $m$ toys are distributed sequentially starting from a given start index. Find the index of the child who receives the last…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.