Corrected the duplicate condition in the limit removal logic where both conditions were checking for the presence of the left child and absence of the right child.
Updated one condition to check for the presence of the right child and absence of the left child.
Corrected the duplicate condition in the limit removal logic where both conditions were checking for the presence of the left child and absence of the right child.
Updated one condition to check for the presence of the right child and absence of the left child.