Question:

In a max-heap, the largest element is always located at the _______.

Show Hint

In a max-heap, the property is that each parent node is greater than its child nodes. The largest element will always be at the root.
Updated On: Jun 16, 2025
  • Leftmost leaf
  • Rightmost leaf
  • Root node
  • Middle of the heap
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

In a max-heap, the largest element is always located at the root node, as it is a complete binary tree, and the largest element must be at the top.
Was this answer helpful?
0
0