Start learning 50% faster. Sign in now
Get Started with ixamBee
Start learning 50% faster. Sign in nowAn AVL tree is a self-balancing binary search tree where the balance factor of each node (height difference between the left and right subtrees) is kept between -1 and +1. When the balance factor becomes +2 or -2 after an insertion, the tree violates this property and must be rebalanced using rotations. The type of rotation depends on the imbalance: • Single Rotation: Used when the imbalance is in one direction, either left-heavy (LL rotation) or right-heavy (RR rotation). • Double Rotation: Used when the imbalance involves opposite directions, such as left-right (LR rotation) or right-left (RL rotation). Option 2 is correct because the AVL tree algorithm always rebalances the tree after insertion using rotations to ensure logarithmic height. Why Other Options Are Incorrect: 1. Tree becomes unbalanced and cannot be used: Incorrect, as AVL trees are explicitly designed to handle imbalances. 2. Insertion is rejected: Incorrect, as rebalancing is performed instead of rejecting insertions. 3. Height increases by 2: Incorrect, as height adjustments depend on rebalancing and typically increase by at most 1. 4. Balance factor is ignored: Incorrect, as the balance factor is central to maintaining AVL tree properties.
Deferred Tax Liabilities’ is shown under which of the following heads in a Balance sheet as per the format given in Companies Act, 2013?
What among the following is not the essential pre-requisites of a JIT System?
Consider the following statements and state which among the following are the correct statements for Nidhi companies?
A. Nidhi companies can borr...
Which of the following is a feature of an incentive and not a reward?
A 10% 5-year bond with a face value of Rs 1000, has been purchased by Mr. X for Rs.900, What is his Yield to Maturity?
An examination of a company's financial records to derive evidence which can be used in a court of law or legal proceeding is known as ________
A company had EBIT of Rs.3,70,000. The interest expense was Rs.45,000. The tax rate is 30%. The company paid Rs.31,000 dividend. What is the retention ...
The cost of an asset on 01-01-2002 is 5,00,000 and its life is 10 years with salvage value is zero. If it is sold on 31-12-2008 for 50,000 than calculat...
The price of the contract is Rs 120. The initial margin is 40 % and maintenance margin is 25%. At what price the margin call will be initiated if perso...
Which of the following role is a manager performing where manager solves the problem, provide feedback, duly recognizes his employees, provides training...