>
masteringswe
_
Home
Why this works
Sign in
Start free
← Back to Python - Coding Interviews
Card 54 of 132
coding
python
heapq - peek
Get (peek) the root element of heapq heap, heap, without removing it. What is the time complexity?
Reveal Answer
← heapq - pop
heapq - heapify existing list →