Modified version of https://leetcode.com/problems/binary-tree-coloring-game/.
Given binary tree and two players (A and B), if A starts game, print the winner at the end and all the moves A and B will make during the game. Each move(i.e picking node) should be a such a way that player wants to win. Number of nodes (n) in tree can be odd or even.
Snapchat Onsite