MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / insertElement

Method insertElement

data_structures/skip_list.cpp:90–127  ·  view source on GitHub ↗

* Inserts elements with given key and value; * It's level is computed by randomLevel() function. * @param key is number that is used for comparision * @param value pointer to a value, that can be any type */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected