Example: Recursive DFS Implementation in C++ This program demonstrates DFS starting from vertex 0. The traversal goes deep into one branch before backtracking, showing the depth-first nature of the algorithm. Example: Iterative DFS using Stack 77