“Today”'s puzzle (in reality I’m 10 days behind…) was nice. “Obvious” methods that work for part 1 don’t necessarily work for part 2: I BFS’d my way through part 1 with a solution that took 4 minutes to determine the answer. That won’t work for part 2 without some serious improvement…!
My revised approach was to count how many steps each position lay from the start and from the end. (The original maze has but one path, so this is well-defined.) For each potential cheat, sum the cheat entrance’s distance from the start, the cheat exit’s distance from the end, and the cheat’s length (Manhattan distance, hence all the hemming and hawing about different cheats being equivalent when they start & end in the same point). That gives you the length of the resulting path – no BFSing around needed! – and you can compare to the baseline etc.
I was pretty proud of it until I visited Reddit, where I found much more clever solutions. … though to be honest I’m still proud of it.