Explain the concept of a self-balancing binary search tree (BST)
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Other
Overview: Asks what a self-balancing binary search tree is and why a plain BST needs one. Tests understanding of tree height, rotations, the AVL and red-black invariants, and when an ordered balanced tree is a better choice than a hash table.