In computer science, iterative deepening search or more specifically iterative deepening depth-first search[2] (IDS or IDDFS) is a state space/graph search strategy in which a depth-limited version of Depth-first search search is run repeatedly with increasing depth limits until the goal is found. IDDFS is optimal like Breadth-first search, but uses much less memory; at each iteration, it visits the nodes in the search tree in the same order as depth-first search, but the cumulative order in which nodes are first visited is effectively breadth-first.

(NO_ITEM_DATA:IterativeDeepeningDepthfirstSearch2021)

## Algorithm

Adapted from (NO_ITEM_DATA:IterativeDeepeningDepthfirstSearch2021).

## Complexity

### Time

### Space

## References

NO_ITEM_DATA:IterativeDeepeningDepthfirstSearch2021