In: Computer Science
Where in a max heap with over 15 elements can you find the third-largest value? Select all that apply.
a child of the right child of the root, a child of the left child of the root, leaf node, left or right child of the root, root
Ans:- We can find the third largest-value at:
Explaination:-
A max heap is a type of data structure which is based on complete binary tree. In the max heap, the value of the parent node will be greater than or equal to the value of it's child node. The root node always contains the large element.