Page 1 of 1

What is the use of front() function in heap?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) Returns the element closest to the median of a sequence
b) Returns the last element of the heap
c) Returns the first element of the heap
d) Returns the element closest to mean of a sequence