Show the result (on an element by element basis) of insertin…

Show the result (on an element by element basis) of inserting the following integers into an initially empty heap.  Use the property that the root is to be the largest element.  Make sure that you clearly draw all 8 heaps using sequential representation for each heap.  Be complete in your representation giving the index values.                   5      9     13     3     7    15    26    10 

Show the resulting 7 Red/Black trees that occur when inserti…

Show the resulting 7 Red/Black trees that occur when inserting the following keys: T   W   V   Y   M   E   B   For each tree, CLEARLY denote which links are “red”.  Also, clearly denote where splits, single rotations and double rotations occur.  Follow the conventions discussed and demonstrated in class. 

Draw the 2-3-4 trees that results when you insert the keys i…

Draw the 2-3-4 trees that results when you insert the keys into an initially empty tree.  Follow the conventions given in lecture.  Draw each intermediate tree making sure that you split the 4-nodes at the proper time!   Also, clearly denote where splits occur.                           I   U   S   B   T   I   T   A   N   P   R   I