RedBlackTree (RedBlackTree)
Creates an empty RedBlackTree.
Arguments
None
Return values
tree
is the new RedBlackTree.
Complexity
Constant
Example
Output:
{ key: 1; value: "1"; }
{ key: 2; value: "2"; }
{ key: 3; value: "3"; }
Creates an empty RedBlackTree.
None
Constant