Triplebyte interview question

Tic-Tac-Toe Console Game