Beeline interview question

How to solve a Tic Tac Toe game in code