Level The level of a node is defined as: 1 + the number of edges between the node and the root. Height of node The height of a node is the number of edges on the longest path between that node and a leaf. Height of tree The height of a tree is the height of its root node.
Isn't height 3, 2 , 1 ? Since height of a node is the number of edges on the longest path between that node and a leaf stackoverflow.com/a/2603707/11319317
Level
The level of a node is defined as: 1 + the number of edges between the node and the root.
Height of node
The height of a node is the number of edges on the longest path between that node and a leaf.
Height of tree
The height of a tree is the height of its root node.
How are they filming this? is he writing backwards?
You can google it as a lightboard
Yes
Why he doesn’t consider about equal element in the hap?
Isn't height 3, 2 , 1 ? Since height of a node is the number of edges on the longest path between that node and a leaf
stackoverflow.com/a/2603707/11319317
i know what you mean but he means the subtree, the first subtree is only the root so the height is 0 cuz it has no leafs
Thank you
thanks man, appreciate it!
If you're gonna "edit out" the drawing of the tree, don't make it 10 seconds long.
Dont you dare talk to the man whos saving us from failing Com Sci like that
Beggars can't be choosers