Pergunta de entrevista da empresa Booz Allen Hamilton

Create a function that determines who wins in a tic tac toe game ?