1.

Which value is pointed out first in heap?(a) Lowest value(b) Highest value(c) First value(d) Third valueThis question was addressed to me in homework.This interesting question is from Heaps in portion Algorithms, Objects & Iterators in C++ of C++

Answer»

Correct OPTION is (b) Highest value

The explanation is: The ELEMENT with the highest value is ALWAYS POINTED by first.



Discussion

No Comment Found

Related InterviewSolutions