Deletion in AVL trees

31 Views Asked by At

assuming that one has to delete the root of an AVL tree. Does it matter which node replaces the root, say if it is the next smaller or next greater number than the root itself, as long as the AVL-property is satisfied and the tree is balanced?