What is the use of front() function in heap?
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
Answer: Option C

Join The Discussion