binary tree


A binary treeMathworldPlanetmath is an ordered rooted treeMathworldPlanetmath where every node has two or fewer children. A balanced binary tree is a binary tree that is also a balanced tree. For example,