codepath / codepath/interviewbit_solutions

Height of a tree

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
44
Forks
29
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.