Skip to content

Binary Tree BFS/DFS missing #2733

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

Closed
iccowan opened this issue Oct 24, 2021 · 0 comments · Fixed by #2734
Closed

Binary Tree BFS/DFS missing #2733

iccowan opened this issue Oct 24, 2021 · 0 comments · Fixed by #2734

Comments

@iccowan
Copy link
Contributor

iccowan commented Oct 24, 2021

Additional context
I noticed that BFS and DFS in the BinaryTree class are missing. I would like to add the BFS and create a note relating to the equivalence between DFS and in-order traversal.

I have noticed that this has been referenced before in regards to the more general graph, but never implemented for the binary tree specifically.

iccowan added a commit to iccowan/Java that referenced this issue Oct 24, 2021
yanglbme added a commit that referenced this issue Oct 25, 2021
…2734)

* Add bfs to binary tree - `Fixes #2733`

* Add note on the equivalence of dfs and inorder - `Fixes #2733`

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
iccowan added a commit to iccowan/Java that referenced this issue Oct 31, 2021
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 a pull request may close this issue.

1 participant