Skip to content

Added Breadth First Tree Traversal #364

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

Merged
merged 15 commits into from
Oct 29, 2022
Merged

Conversation

Dalfonso06
Copy link
Contributor

Breadth First Tree traversal uses the breadth first algorithm to traverse through binary trees which can be used for algorithms such as level-order traversal and finding the deepest node of a binary tree with a time complexity of O(n) and space complexity of O(w) where w is the maximum width of the tree.

  • I have performed a self-review of my code
  • My code follows the style guidelines of this project
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Comments in areas I changed are up to date
  • I have added comments to hard-to-understand areas of my code
  • I have made corresponding changes to the README.md

@Dalfonso06 Dalfonso06 requested a review from siriak as a code owner October 27, 2022 14:41
@codecov
Copy link

codecov bot commented Oct 27, 2022

Codecov Report

Base: 95.72% // Head: 95.75% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (d892c66) compared to base (8b49dce).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #364      +/-   ##
==========================================
+ Coverage   95.72%   95.75%   +0.02%     
==========================================
  Files         217      218       +1     
  Lines        8827     8874      +47     
==========================================
+ Hits         8450     8497      +47     
  Misses        377      377              
Impacted Files Coverage Δ
Algorithms/Graph/BreadthFirstTreeTraversal.cs 100.00% <100.00%> (ø)
...ataStructures/BinarySearchTree/BinarySearchTree.cs 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@siriak siriak merged commit a27d4cf into TheAlgorithms:master Oct 29, 2022
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.

2 participants