Pergunta de entrevista da empresa Capgemini

How would you program a tic tac toe game?