Examveda

Why is this heap named leftist heap?

A. only left subtrees exist

B. the tree is biased to get deep down the left

C. it is balanced

D. right trees are unbalanced

Answer: Option B


This Question Belongs to Data Structure >> Heaps

Join The Discussion

Related Questions on Heaps

Which of the following is true for a min-heap?

A. The root node is the smallest element, and every parent node is smaller than its children.

B. The root node is the largest element, and every parent node is larger than its children.

C. All nodes are arranged in a complete binary tree.

D. The tree is always balanced.