1.

How will you remove a left horizontal link in an AA-tree?(a) by performing right rotation(b) by performing left rotation(c) by deleting both the elements(d) by inserting a new elementMy doubt stems from Binary Trees in division Binary Trees of Data Structures & Algorithms II have been asked this question in final exam.

Answer» RIGHT option is (a) by performing right rotation

The explanation is: A left HORIZONTAL LINK is REMOVED by right rotation.A right horizontal link is removed by left rotation.


Discussion

No Comment Found

Related InterviewSolutions