theScore interview question

Code tic tac toe outcome