Closed schun99 closed 4 years ago
Can AVL or Red-Black Tree still be unbalanced after calling balance method? I am not sure how to answer the part where it's asking if the balance() method can fail to keep the tree balanced.
@schun99 it is asking by the way it is written, does the tree remain balanced after calling add() and remove() methods.
Can AVL or Red-Black Tree still be unbalanced after calling balance method? I am not sure how to answer the part where it's asking if the balance() method can fail to keep the tree balanced.