Sums
Sums
Sums
1. Show how heap sort processes the input 31, 41, 59, 26, 53, 58, 97
2. Find 88 in the data given below. At each step show the position of first, last and mid
8, 13, 17, 26, 44, 56, 88, 97
3. Use modulo – division method and linear probing, store the keys shown below in an array with
19 elements. How many collisions occurred? What is the density of the list after all keys have
been inserted?
224562 137456 214562
140145 214576 162145
navlakhi.mobi
144467 199645 234534
4. Use B-tree of order 3 & delete 90, 60. In each step show the resulting B-tree
9820246760 / 9769479368
5. Give DFS & BFS traversal of the graph shown below, starting from vertex A
|
navlakhi.com
6. Find the minimum spanning tree (Prims algorithm) for the following graph [ONLY for IT]
navlakhi.mobi
9820246760 / 9769479368
|
navlakhi.com