Everything2
Near Matches
Ignore Exact
Full Text
Everything2

BST disease

created by Recluse

(idea) by Recluse (4.1 y) (print)   ?   (I like it!) Sat Jul 14 2001 at 3:59:57

Definition: A binary search tree(BST) with the property of being a linked list with extra overhead.

Searching in a tree with BST disease takes O(n) time in the worst case (see: Big-oh Notation) as compared to O(log n) for a well balanced tree. To easily create a binary search tree with this disease, sort your data by keyvalue before inserting.

Data structures such as the AVL Tree, which is locally balanced, and the splay tree, which moves recently accessed nodes to the top, or root of the tree, were created to combat unbalanced trees -- BST disease is the extreme condition of unbalance.

The quad-tree analogue of the BST is the point quadtree. It too is affected by BST disease. Other trees (and tries) can be affected to a lesser degree -- inserting data into a point-region quadtree when the data is very clustered can create a tree of unpredictable but finite depth.


printable version
chaos

skip list Trie Yoyodyne Big-oh notation
quad tree binary search tree AVL tree Unbalanced
Claudius order unpredictable Analogue
Worst Case Scenario Overhead binary tree List
linked list binary search splay tree
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
After stirring Everything, these nodes rose to the top:
The Raven (The Edgar Allan Porn version)
This is just pure cool! It's cryptic, mystical, lovely. I had no choice!
Heirlooms
François Villon
From across a crowded room
smoked salmon
A stitch in time saves nine
X-Men
When the Sun Rises
Multiplier effect
fisting
Love is more complicated than Quantum Mechanics
The ultraviolet catastrophe
New Writeups
boomchickaboom
Unity, Maine(person)
StrawberryFrog
Bore(person)
Heitah
The Davy Crockett Weapon System(thing)
Timeshredder
Indiana Jones and the Kingdom of the Crystal Skull(review)
aneurin
Miles Francis Stapleton Fitzalan Howard, 17th Duke of Norfolk(person)
Bitriot
flashover(thing)
tejasa
Cranberry Cornbread(recipe)
Dreamvirus
Brighton Bombing(event)
Ariloulaleelay
'Appendices' to a 'Report' on THE HIVE×BODY MACHŸNE(log)
Timeshredder
WALL-E(review)
sitaraika
Win-laik-pya(idea)
whitelight
The abysmalists(poetry)
Hazelnut
How to solve the obesity epidemic and the oil price hike in one fell swoop(idea)
raincomplex
Spitting out teeth like ampersands(place)
wertperch
July 4, 2008(personal)
Everything 2 is brought to you by the letter C and The Everything Development Company