Epic interview question

Tree Tic Tac Toe coding question