RedBlackTree.last
Returns the last entry of the tree.
Arguments
None
Return values
{ key: Key; value: Value; }
structure is the last entry. It will be an entry with the biggest key because a tree is always sorted.
Complexity
Constant
Example
Output:
{ key: 3481; value: 135; }