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

Function addWordToTree

data_structures/binary_trees/words_alphabetical.c:144–174  ·  view source on GitHub ↗

* @brief Adds word (node) to the correct position in tree * @param word word to be inserted in to the tree * @param currentNode node which is being compared * @returns a pointer to the root node */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

readWordsInFileToTreeFunction · 0.85

Calls 2

allocateMemoryForNodeFunction · 0.85
getPointerToWordFunction · 0.85

Tested by

no test coverage detected