Assignment 2
Assignment 2
(ii) Show that a Red-Black tree with n internal nodes has height at most
2lg(n+1)
K3, CO2 (i) Discuss all cases of deletion in RB-tree. Discuss the time 2
complexity of deletion operations in RB-tree.
3 (ii) What is skip list? Explain the Search operation in Skip list with
suitable example also write its algorithm.
K3, CO2 (i) Explain and write an algorithm for union of two binomial heaps and 2
write its time complexity.
(ii) Shows various cases in Union operation on following Binomial
heap.
(iii) Write down the algorithm for Decrease key operation in Binomial
Heap also write its time complexity.
K3, CO2 (i) Discuss Fibonacci Heap. Differentiate Binomial Heap and Fibonacci 2
5 Heap.
(ii) Explain and write Extract Minimum algorithm of Fibonacci Heap