Two Sigma interview question

Advanced coding algorithms, e.g. boardgame where winner has n consecutive moves.