Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell: added DFS Stack to Tree Traversal #395

Merged
merged 2 commits into from
Oct 3, 2018

Conversation

jiegillet
Copy link
Member

Added DFS Stack.
I also ran hindent which reformatted the file, so I had to change all import lines.

For the record, it's not really using stacks, just as BFS is not really using queues and the other DFS implementations are definitely better. I'm just adding it for completeness.

@jiegillet jiegillet added Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.) Hacktoberfest The label for all Hacktoberfest related things! labels Sep 29, 2018
@leios
Copy link
Member

leios commented Sep 29, 2018

this fixes issue #394, right?

@jiegillet
Copy link
Member Author

One of them, yes

Copy link
Member

@leios leios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is clean. Thanks!

@leios leios merged commit b86286c into algorithm-archivists:master Oct 3, 2018
kenpower pushed a commit to kenpower/algorithm-archive that referenced this pull request Oct 22, 2018
* Added DFS Stack

* Fixed import lines after reformatting code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest The label for all Hacktoberfest related things! Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants