Aug2016 cs Q34

  • Option : D
  • Explanation :
    Initially we have:

    When we insert 10 and 17:

    We have to maintain max-heap, so:

    The level-order traversal of the heap after the insertion of the element is 20, 18, 17, 13, 12, 10, 15 So, option (D) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *