aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Data Structures and Algorithms Fundamentals
  • In a heap, element with the greatest key is always in the...
Multiple choice

In a heap, element with the greatest key is always in the ___________ node.

  1. leaf

  2. root

  3. first node of left sub tree

  4. first node of right sub tree

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

null

Keep practicing — related questions

  • In a Heap tree
  • The elements 32, 15, 20, 30, 12, 25, 16 are inserted one by one in the given order into a max Heap. The res...
  • Let the binary heap has depth equal to d. What is the minimum number of nodes in the heap?
  • Let the binary heap has depth equal to d. What is the minimum number of nodes in the heap?
  • Consider the process of inserting an element into a Max Heap, where the Max Heap is represented by an array...
  • In a heap with n elements with the smallest element at the root, the 7th smallest element can be found in time
  • In a heap with n elements with the smallest element at the root, the 7th smallest element can be found in time
  • In a heap with n elements with the smallest element at the root, the 7th smallest element can be found in time
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Data Structures and Algorithms (1518 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy