Uninformed Search
Uninformed search has no heuristic. BFS uses a queue — shortest path if every step costs 1. DFS uses a stack — can dive deep, may miss a nearby goal. UCS (uniform cost) expands cheapest path first — like Dijkstra. IDS repeats DFS with a rising depth limit.
Trap — DFS is not “always faster”. On a huge tree it can get lost. BFS eats memory. Say those two costs out loud.
Uninformed Search — output — three lines. No heuristic.
start
├── BFS queue
├── DFS stack
└── A* g+h
│
▼
goalExam tip
BFS vs DFS: data structure + when shortest.