Question DSA-HEAP-0025
EasyWhat is the time complexity of removing the minimum from a binary min-heap of n elements?
- A.
O(n)
- B.
O(1)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Heaps and Priority Queues question
What is the time complexity of removing the minimum from a binary min-heap of n elements?
O(n)
O(1)
Sign up free to see the answer and a step-by-step explanation.
O(n log n)
O(log n)