Binary tries

 
1.  Set currentNode = root, i = 0.
2.  If currentNode is null, or i > # of bits in key,
		return "not found".
3.  If currentNode is a leaf, and i == # of bits in key, 
		return "found". 
4.  Look at the value of the ith bit in key.  If 0, 
		set currentNode = currentNode.left; else 
		set currentNode = currentNode.right
5.  Set i = i+1 and Go to 2. 
 

CONTENTS    PREVIOUS    NEXT