Write the four AVL rotation functions only. 2 ன ரோ (9) ௦: i) Perform the operations onto Red- Black Tree (draw after each operation): insert 10, 7, 2, 8, 9, 15, 13, 12, 3,5, 11, 17, 14, 16, 4 ட ன க delete 9, 10, 17, 16 ட ADD ii) Compare min heaps and leftisttrees தை ன சோர (4: - yo i) Write the Quicksort algorithm | ன க த ர் 7 ன 0 தடக் - (ii ‘Show how quicksort processes the input 142, 543, 123, 65, 453, 879, 579, 434, ன ரோ ட்ட 114, 242, 811, 102 with pivot chosen as the: larger 6 of first two distinct elements’ (8) ao க OR ர ர ன ச கி ப ர ர i) Write the HeapSort algorithm ன ட்ட ட (8) (ii) Show how heapsort processes the input 142, 543, 123, 65, 453, 879, 579, 434, 111, 242,811, 102 7 (8) i) Insert. into a B-Tree of order 5 with the following data: 8,96,116,2,7,104, 110,37,86,55,46,137,145,4,5,58,6° ன ரக (10) _. li) Consider a B-Tree of order m = 200. Calculate the number of keys searched ... ind passes . oo 6. அத இ i) Write functions to insert/retrieve an item into/from a hash table of § size 31 using ன ட _ open addressing and linear probing. Devise your own hash function and obtairi the ' co - hash addresses for the keys 78, 101, 155, 289, 2945, 4000. Assume the following 7 for the item. ன 11 ; typedef struct item{ | int key; double info; }ITEM:
Other Or UnclassifiedSource quality review required