Vidyalelo
Data Structure · Q4

Standard Libraries in Data Structures

Programming · Data Structure · question 4

Q4

What is the purpose of the heapq module in Python?

A.
To handle mathematical operations.
B.
To sort data efficiently.
C.
To manage input and output streams.
D.
To provide heap queue algorithms.
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board