Pregunta de entrevista de Palantir Technologies

Implement a function that checks if a player has won tic tac toe