Iterative Deepening Search (IDS) or Iterative Deepening Depth First Search (IDDFS)
Iterative Deepening Search (IDS) or Iterative Deepening Depth First Search (IDDFS) is a search strategy. Say the data structure, whether it uses a heuristic, and if it guarantees a shortest path. Draw a tiny 6-node graph. That is the exam, not a textbook proof.
Iterative Deepening Search (IDS) or Iterative Deepening Depth First Search (IDDFS) — output: three exam lines. Graph on paper first.
For Iterative Deepening Search (IDS) or Iterative Deepening Depth First Search (IDDFS): always mark visited nodes or you loop. Say complexity in plain words: time vs memory trade-off.
start
├── BFS queue
├── DFS stack
└── A* g+h
│
▼
goalDS + heuristic yes/no + optimality.