Nope that hasn't fixed it :disappointed:. Somethi...
# advent-of-code
a
Nope that hasn't fixed it 😞. Something slightly off in my logic
j
What I failed to take into account at first was that you can't switch to a piece of equipment before moving when your current region doesn't support that piece of equipment.
a
Ok, so there is only 1 other type of equipment that you can switch to at each point. That makes sense, I am not taking that into account either.
That actually dramatically reduces my search space. Thanks for that insight.
j
You're welcome, hope it helps!
a
It helped, I've now collected the Star 🙂
👍 1
My code takes ages to run though. I think it's because I am using lazy loaded Maps to represent the Maze. Might see if I can speed that up another day 🙂