Shared Flashcard Set

Details

Balanced trees (2-3-4 & Red-Black)
ICS 311
4
Computer Science
Undergraduate 2
02/05/2019

Additional Computer Science Flashcards

 


 

Cards

Term
What is the binary-search-tree property?
Definition

Let x be a node in a binary search tree. If y is a node in the left subtree of x, then y.key <= x.key. If y is a node in the right subtree of x, then
y.key >= x.key.

[image]

 

[image]

 

 

Term
Properties of (2, 4)-trees
Definition

Node Size Property: every internal node has at least two children (one key) and at most four children (three keys).

Depth Property: all of the external nodes have the same depth. (The tree is balanced.)

[image]

[image]

Term
mhkiim9 edit
Definition
mhkim9 edit
Term
mhkiim9 edit
Definition

mhkim9 edit

 

Supporting users have an ad free experience!