The grid
Paint with
Drag on the grid to paint. Drag the green start or the red goal to move them.
Which one should I use?
Every step costs the same and you want the shortest route? Breadth-first. Some ground costs more? Dijkstra. You know where the goal is? A*, which is usually the best pick. Short of memory and any route will do? Depth-first or beam search. In a hurry, and a decent route is fine? Greedy.
One big smooth hill? Plain hill climbing is quick and fine. Lots of little hills? Try random restarts or simulated annealing. Want to explore many places at once? A beam or a population. No method wins on every landscape. That is a real theorem, nicknamed “no free lunch”.