Math, asked by NeethuMax824, 11 months ago

Prove that rightmost path of leaftist heap has log n 1 vertices

Answers

Answered by Anonymous
0
A leftist tree or leftist heap is a priority queue implemented with a variant of a binary heap. Every node has an s-value (or rank or distance) which is the distance to the nearest leaf. In contrast to a binary heap (Which is always a complete binary tree), a leftist tree may be very unbalanced.
Similar questions