I check for cheats by going through each row and column of the map, checking to see if you’re at a wall, and if not, then checking every row and column within a Manhattan distance of . So I have some massively nested for
loops. The smarter (IMHO) approaches enumerate the path steps into an array, which saves time and space.