1823. Find the Winner of the Circular Game - Explanation

Problem Link