AVL tree is created by inserting the keys 2, 6, 1, 5, 3, 4, 7 in the given order (Assume the tree is initially empty). Then the level order traversals of the tree would be.
I know this a very easy question but recently I realized that I am facing problems in the rotations even after knowing all the concepts. After 2 or 3 rotations I get stuck trying to figure out which way to rotate.
Please help me with the proper steps in this question.
https://gateoverflow.in/290221/made-easy-test-series
https://gateoverflow.in/?qa=blob&qa_blobid=3377927454435141431
64.3k questions
77.9k answers
244k comments
80.0k users