Pergunta de entrevista da empresa Microsoft

check whether a tic tac toe game has been won