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

Height of a tree #26

Open
ashageorgesj opened this issue Mar 20, 2019 · 0 comments
Open

Height of a tree #26

ashageorgesj opened this issue Mar 20, 2019 · 0 comments

Comments

@ashageorgesj
Copy link

There are conflicting definitions of height of a tree.
Here https://guides.codepath.com/compsci/Binary-Trees, it says Height of a node is the number of edges on the longest path from the node to a leaf.
But here https://inst.eecs.berkeley.edu/~cs61b/fa17/materials/lectures/lect20.pdf, The height of a node in a tree is the smallest distance to a leaf.

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

No branches or pull requests

1 participant