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

Function insert

data_structures/avltree.cpp:92–114  ·  view source on GitHub ↗

* @brief inserts a new element into AVL tree * @param root of the tree * @param[in] item the element to be insterted into the tree * @return root of the updated tree */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

insertMethod · 0.70
mainFunction · 0.70

Calls 4

createNodeFunction · 0.85
getBalanceFunction · 0.85
leftRotateFunction · 0.85
rightRotateFunction · 0.85

Tested by

no test coverage detected