Which module provides the fast heap-based priority queue in Python?
Correct answer
D. heapq
6 views
D. heapq
6 views
heapq implements a min-heap on a plain list.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.