Visit the nodes in DFS order. Start with the node A.
Some additional problems.
Algorithm DFS(G)
Algorithm DFS-VISIT(G, u)