loading...

CS301 Assignment 2 Solution Fall 2017

Question:                                                                                                                                          Marks 20

Data: 4  3  2  8  9  5  11  18  12

  1. Consider the data given above and construct max heaping using step by step construction method. After building max heap show only final tee and array status. Marks 5+5
  2. Use same data given above and construct max heap after Heapify whole tree at once. Marks 5+5

Idea Solution :

It is

DOWNLOAD SOLUTION HERE
loading...