PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
search tree (Definition)

A search tree is a tree where every subtree of a node has keys less than any other subtree of the node to its right. The keys in a node are conceptually between subtrees and are greater than any keys in subtrees to its left and less than any keys in subtrees to its right.

A search might visit nodes in the tree to locate some information. At the outset of the search one has a given key and seeks to find the node in the tree having that key. As the nodes are visited a comparison of the node's key to the given key is made and a decision to go to either the left subtree or the right subtree is made. Knowing that all keys to the left (right) are smaller (larger) makes the search easy to carry out.



"search tree" is owned by Mathprof.
(view preamble)

View style:

Log in to rate this entry.
(view current ratings)

Cross-references: right subtree, left subtree, information, right, keys, node, tree
There is 1 reference to this entry.

This is version 2 of search tree, born on 2007-07-04, modified 2007-07-04.
Object id is 9728, canonical name is SearchTree.
Accessed 400 times total.

Classification:
AMS MSC68P05 (Computer science :: Theory of data :: Data structures)
 68P10 (Computer science :: Theory of data :: Searching and sorting)

Pending Errata and Addenda
None.
[ View all 1 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)