Pergunta de entrevista da empresa Canva

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