! (RedBlackTree)
Sets an entry by key.
Arguments
The
value
to set.key
to set the value by. If no entry with this key exists, an error will occur.tree
is the RedBlackTree to update.
Return values
None
Complexity
O(log(size))
Example
Output:
Element
E L E M E N T