Question DSA-BST-145
MediumInserting 10, 20, 30 into an empty AVL tree causes which rotation?
- A.
No rotation
- B.
A single right rotation at 30
- 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
Inserting 10, 20, 30 into an empty AVL tree causes which rotation?
No rotation
A single right rotation at 30
Sign up free to see the answer and a step-by-step explanation.
A left-right rotation
A single left rotation at 10