Binary Trees

From

(Difference between revisions)
Jump to: navigation, search
(Created page with 'To be written... <br>Back to Data Structures (CS2)')
Line 1: Line 1:
-
To be written...
+
A '''binary tree''' is&nbsp;is a tree ADT that&nbsp;is restricted to having ''at most&nbsp;2 children ''in each node contained in the tree. As computers generally operated on digital/binary logic, binary trees are very natural and efficient structures.&nbsp;They&nbsp;are useful both as a means of storing and organizing data, and as a means of representing a solution to a problem.
 +
[[/index.php/CS2|/index.php/CS2]]
-
<br>[[CS2|Back to Data Structures (CS2)]]
+
Here is an example binary tree:
 +
 
 +
[[Image:BinaryTree1.png]]

Revision as of 14:26, 28 March 2009

A binary tree is is a tree ADT that is restricted to having at most 2 children in each node contained in the tree. As computers generally operated on digital/binary logic, binary trees are very natural and efficient structures. They are useful both as a means of storing and organizing data, and as a means of representing a solution to a problem.

/index.php/CS2

Here is an example binary tree:

Image:BinaryTree1.png

Personal tools
MediaWiki Appliance - Powered by TurnKey Linux