Problem 3882 · Medium

Minimum XOR Path in a Grid

Track every XOR value that reaches each cell, since a smaller partial XOR does not guarantee a smaller final one.

Open the interactive visualisation