Zulily interview question

Algorithm to determine winner of Tic-Tac-Toe.