InterviewSolution
Saved Bookmarks
| 1. |
Why to prefer red-black trees over AVL trees?(a) Because red-black is more rigidly balanced(b) AVL tree store balance factor in every node which costs space(c) AVL tree fails at scale(d) Red black is more efficientThis key question is from AVL Tree topic in section Binary Trees of Data Structures & Algorithms IThe question was asked in an online interview. |
|
Answer» The correct choice is (b) AVL tree store balance factor in every node which costs space |
|