Skip to content

Height of a tree #26

Description

@ashageorgesj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions