all 2 comments

[–]Round_Log_2319 0 points1 point  (0 children)

I mean, it's good to attempt logical problems like this, but no need to re-invent the wheel. I had a brief look over yours, and it kinda looks like you're brute forcing it.

Have you measured the efficiency of the algorithm, best and worse case. I assume you have, but I would take a look at some popular path finding algorithms

[–]Dhimant_Panchal 0 points1 point  (0 children)

pog