MCQOPTIONS
Saved Bookmarks
| 1. |
Once the valid 3-ary heap is found from question 18, the elements 7, 2, 10 and 4 are inserted in that order into this 3-ary heap. The sequence of items in the array representing the resultant heap is |
| A. | 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 |
| B. | 10, 7, 9, 8, 3, 1, 5, 2, 6, 4 |
| C. | 10, 9, 4, 5, 7, 6, 8, 2, 1, 3 |
| D. | 10, 8, 6, 9, 7, 2, 3, 4, 1, 5 |
| Answer» C. 10, 9, 4, 5, 7, 6, 8, 2, 1, 3 | |