Python Programming - Standard Libraries - Discussion

Discussion Forum : Standard Libraries - General Questions (Q.No. 16)
16.
What is the purpose of the heapq module?
Sorting elements in a list
Implementing priority queues
Working with regular expressions
Handling dates and times
Answer: Option
Explanation:
The heapq module in Python provides functions for implementing heap queues, which are often used to implement priority queues.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.