MCPcopy Create free account
hub / github.com/TheAlgorithms/C / insert

Function insert

data_structures/binary_trees/binary_search_tree.c:46–66  ·  view source on GitHub ↗

Insertion procedure, which inserts the input key in a new node in the tree * @param root pointer to parent node * @param data value to store int he new node * @returns pointer to parent node */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 1

newNodeFunction · 0.70

Tested by

no test coverage detected