Feedback for subjective question

Report on solved past papers subjective question
Question 1: Let's call the node as a that requires re-balancing. Consider the two cases given below:
  1. An insertion into left subtree of the left child of a
  2. An insertion into right subtree of the right child of a.

Which of the following statement is correct about these two cases.

  1. The insertion occurs outside (i.e., left-left or right-right) in cases 1 and 2. single rotation can fix the balance in these two cases.
  2. The insertion occurs inside ((i.e., left-left or right-right) in cases 1 and 2. single rotation cannot fix the balance in these two cases

Please login to submit feedback on subjective question.

Login Now

Account Related


Earnings Related


Funds Related


Live Related


Sponsored

Theme Customizer

Gaussian Texture



Gradient Background