In a Fibonacci heap, is it possible to create a tree of arbitrarily large height k in
Fantastic news! We've Found the answer you've been seeking!
Question:
- In a Fibonacci heap, is it possible to create a tree of arbitrarily large height k in which all non-leaf nodes have exactly one child? You must either briefly describe how to generate such a tree (list some partial sequence of operations) or prove that it is impossible for large enough k.
- In a Fibonacci heap, when the decrease operation tries to mark a node for the second time, it cuts the node and marks its parent. Suppose we change the rule and only cuts a node when the decrease operation tries to mark it for the third time. (In other words, a node can be marked twice without getting cut.) Draw the structure of the smallest tree of root degree 5. Briefly explain why no smaller tree of root degree 5 is possible.
Related Book For
Introduction to Algorithms
ISBN: 978-0262033848
3rd edition
Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest
Posted Date: