Find the Winner of the Circular Game at Arista Networks
Medium82.2% acceptance
This problem has 62.5% frequency at Arista Networks.
Problem Description
There are `n` friends that are playing a game. The friends are sitting in a circle and are numbered from `1` to `n` in **clockwise order**. More formally, moving clockwise from the `ith` friend brings you to the `(i+1)th` friend for `1 <= i < n`, and moving clockwise from the `nth` friend brings you...
Read full problem and hintsTopics
Also asked at 11 companies
More Arista Networks Questions
Find the Town JudgeEasyReverse Nodes in k-GroupHardReorder ListMediumRotated DigitsMediumRemove Linked List ElementsEasy
View all Arista Networks questions