Gate CS-2007 Question Paper With Solutions

Q. 10 Consider the process of inserting an element into a Max Heap, where the Max

Heap is represented by an array. Suppose we perform a binary search on the path

from the new leaf to the root to find the position for the newly inserted element,

the number of comparisons performed is

Gate CS-2007 Question Paper With Solutions

Answer: (B)

Explanation:

Gate CS-2007 Question Paper With Solutions

Learn More:   Gate ME-2018-1 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here