diff --git a/Trees/AVL_Trees.cpp b/Trees/AVL_Trees.cpp index 7beb897..daba404 100644 --- a/Trees/AVL_Trees.cpp +++ b/Trees/AVL_Trees.cpp @@ -68,15 +68,6 @@ int height(node* node) /* Helper function that allocates a new node with the given data and NULL left and right pointers. */ -node* newNode(int data) -{ - node* Node = new node(); - Node->data = data; - Node->left = NULL; - Node->right = NULL; - - return (Node); -} // Driver code int main()