Skip to content

Conversation

@hamzakat
Copy link
Contributor

It is tested and its output is identical with the normal DFS.
Note: I added peek() method to Stack class to use it in this iterative version of DFS (as in the original textbook's Stack API)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant