what is iterative deepening
- Idea: get DFSβs space advantage with BFSβs time / shallow-solution advantages
- Run a DFS with increasing depth limit
- Not wastefully redundant, most work in lowest level
- Properties:
- Time complexity:
- Space complexity:
- Complete: yes
- Optimal: only if costs are all 1
- visualization