Tree: Difference between revisions

From Wiki :-)
Jump to navigation Jump to search
Created page with "A Tree has (only one) root node and has child nodes. A leaf node has no child."
 
No edit summary
Line 1: Line 1:
A Tree has (only one) root node and has child nodes.
A Tree has (only one) root node and has child nodes. A leaf node has no child.
A leaf node has no child.
 
In a binary tree, nodes have at most 2 children.

Revision as of 06:13, 3 June 2018

A Tree has (only one) root node and has child nodes. A leaf node has no child.

In a binary tree, nodes have at most 2 children.