Polaris FT Interview Question

coding approach for the game tic tac toe