Breadth-First Search (BFS)
BFS explores level by level. It expands the shallowest unexpanded node first. This is achieved by managing the frontier as a FIFO (First-In, First-Out) queue.
- Complete? Yes.
- Optimal? Yes, but only if all action costs are identical.
- Complexity: Time and space are .