Method | Description | |
---|---|---|
Delete ( Node &tree, int key ) : void |
Delete key from tree rooted at tree if the key is present in the tree. This is a static method with a ref param to handle the special case of deletion of a leaf node.
|
|
Insert ( int key ) : void |
Insert key, if not already present.
|
|
Largest ( ) : Node | ||
Lookup ( int key ) : bool |
Check if key is a member of the set
|
|
Node ( int value ) : System | ||
RemovedOk ( int key ) : bool | ||
Smallest ( ) : Node |