Pregunta de entrevista de Canva

Build an Algorithm to detect a win on a board game.