← Search

Micro-Drill #69 — Heappop

Search Target: 5s

heappop extracts the minimum. Pair with heappush for priority queue operations.

import heapq
heapq.heappop(h)

Type it from memory. Go.

Practice Problems

← Micro #68 Micro #70 →