Interactive tool for learning BFS, DFS, Uniform Cost Search, and A*
Strategy: Explores all neighbors at current depth before moving deeper. Uses a queue (FIFO).
Guarantees: Shortest path in unweighted graphs. Complete.
Complexity: O(V + E) time and space.
Strategy: Explores as far as possible along each branch. Uses a stack (LIFO).
Guarantees: Not optimal. May find long paths first.
Complexity: O(V + E) time, O(V) space.
Strategy: Always expands the node with lowest path cost. Uses a priority queue.
Guarantees: Optimal path in weighted graphs. Complete.
Complexity: O(b^(C*/ฮต)) where C* is optimal cost.
Strategy: Uses f(n) = g(n) + h(n) where g is cost so far and h is heuristic estimate to goal.
Guarantees: Optimal if heuristic is admissible. Most efficient optimal algorithm.
Complexity: Depends on heuristic quality. Better than UCS in practice.