Pregunta de entrevista de Spring

The coding challenge was to create a tic-tac-toe game.