aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Test 1 Algorithms | Computer Science
  • In a binary max heap containing n numbers, the smallest e...
Multiple choice

In a binary max heap containing n numbers, the smallest element can be found in time

  1. O (n)

  2. O (log n)

  3. O (log log n)

  4. O (1)

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

Keep practicing — related questions

  • 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
  • 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?
  • We have a binary heap on n elements and wish to insert n more elements (not necessarily one after another) ...
  • We have a binary heap on n elements and wish to insert n more elements (not necessarily one after another) ...
  • The number of elements that can be sorted in $Θ(\log n)$ time using heap sort is
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