This explanation helped a lot, even though I'm old I think that this solution is really handy. I do believe that someone found a gredy way to no try all combinations for directions, however I found this code and explanation enough at the point that I tried on C++ github.com/joelchaconcastillo/advent_of_code/blob/main/2024/day-21/main.cpp Although I'm old I still want to keep on programing problems, Thanks!
Thanks for posting this. It helped me to spot my error of caching the wrong thing on b. :)
Nice code, great explanation.
This explanation helped a lot, even though I'm old I think that this solution is really handy.
I do believe that someone found a gredy way to no try all combinations for directions, however I found this code and explanation enough at the point that I tried on C++ github.com/joelchaconcastillo/advent_of_code/blob/main/2024/day-21/main.cpp
Although I'm old I still want to keep on programing problems,
Thanks!