Question DSA-BST-0006
EasyWhich of these is a self-balancing binary search tree?
- A.
Binary heap
- B.
AVL tree
- C.
Trie
- D.
Segment tree
Show answer and explanation
Answer: B
AVL and red-black trees rotate after insertions and deletions to keep their height O(log n).