Pergunta de entrevista da empresa CareerBuilder

Write a function that takes in a Tic-Tac-Toe board and determines a winner.