• + 0 comments

    Hello! I've left my Java 8 solution here in case anyone has trouble.

    Just keep in mind: - GrundyNumbers. - Minimum Excludant. - GrundyNumber of multiple games is the XOR of the grundy numbers of the games. - You only have to evaluate a state once.