BTreeMap.remove

Deletes the element from the BTreeMap.

struct BTreeMap(TreeKeyType, TreeValueType, int tree_degree)
bool
remove

Parameters

key KeyType

key of the element to delete.

Return Value

Type: bool

true if the element was found and deleted, false otherwise.

Complexity: CPU: O(degree * log_degree(n)) Memory:O(log_degree(n))

Meta