wendy and bob game winner leetcode