DAA Notes
DAA Notes
Assignment 2
Q3 Insert the following elements using the property of RB tree. 15,13,12,16,19,23,5,8 and delete 8 ,9
and 16.
Q4 Explain B-Tree and its properties. Also write B-Tree deletion cases with example.
Q7 Show that a red-black tree with n internal nodes has height at most 2lg(n+1).
Q8 Explain and write an algorithm for union of two binomial heaps and write its time complexity and
also explain decrease key operation