this timehowevera has no unvisited neighborsso we pop it off the stack but now there' nothing left to popwhich brings up rule remember rule if you can' follow rule or rule you're finished table shows how the stack looks in the various stages of this processas applied to figure table stack contents during depth-first search event stack visit visit ab visit abf visit abfh pop abf pop ab pop visit ac pop visit ad visit adg visit adgi pop adg pop ad pop visit ae pop