Problem 864 · Hard
BFS over (row, column, key bitmask) states until every key has been collected.
Open the interactive visualisation