@ (RedBlackTree)
Returns an entry by key.
Arguments
key
to get an entry by. If no entry with this key exists, an error will occur.tree
is the RedBlackTree to get an entry from.
Return values
value
of the entry.
Complexity
O(log(size))
Example
Output:
Element