Expensya Interview Question

Tic Tac Toe game algorithm