Domanda di colloquio di IBM

Algorithms: Write a program to determine whether a tic-tac-toe game is complete or not.