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

Function newNode

data_structures/binary_trees/binary_search_tree.c:28–39  ·  view source on GitHub ↗

The node constructor, which receives the key value input and returns a node * pointer * @param data data to store in a new node * @returns new node with the provided data * @note the node must be deleted before program terminates to avoid memory * leaks */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

insertFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected