Leetcode 1823 : Find the Winner of the circular Game, Recursion