Question DSA-BST-149
MediumWhy might an AVL tree be preferred over a red-black tree?
- A.
AVL trees need no rotations
- B.
Red-black trees are unbalanced
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Binary Search Trees question
Why might an AVL tree be preferred over a red-black tree?
AVL trees need no rotations
Red-black trees are unbalanced
Sign up free to see the answer and a step-by-step explanation.
AVL trees use less memory always
For lookup-heavy workloads, since AVL trees are more strictly balanced