Which property ensures that an AVL tree remains balanced?

15 views
  • Height difference ≤ 1 (Correct Answer)
  • Equal number of nodes
  • Complete binary tree
  • Full binary tree

Explanation

In AVL trees, the balance factor (difference between heights of left and right subtrees) must be -1, 0, or +1. This constraint ensures logarithmic height and efficient operations.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs