Skiplist Functions

March 26, 2020 Contributors
Name Description
sl_destruct Destroy a Skiplist
sl_find Find a specific node and return the node’s data
sl_getlist Get the first node in a Skiplist
sl_init Initialize a Skiplist
sl_insert Insert data and return the resulting node
sl_next Move iter forward a node and return the new node’s data
sl_previous move iter backward a node, return new node’s datum
sl_removet Remove a node by key
sl_set_compare Set the comparison functions
sli_removet Remove a node by key