1.

In skew heaps, certain constraints are to be met in order to perform swapping.(a) true(b) falseThis question is from Heap in section Heap of Data Structures & Algorithms II have been asked this question during an interview.

Answer»

The correct choice is (b) false

Best explanation: In SKEW HEAPS, swaps are UNCONDITIONAL. It is done with the exception that the largest of all NODES does not have its CHILDREN swapped.



Discussion

No Comment Found

Related InterviewSolutions