Question

A max-heap contains n elements. Which operation has worst-case O(log
n)?

A Access maximum at root
B Search for arbitrary value
C Insert a new element
D Check whether heap is empty
E Read current heap size
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)