Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有任何可用于 Java 的 api,就像 Python 中的 heapq 一样。
你看过java.util.PriorityQueue吗?
java.util.PriorityQueue