摘要:
Python heapq All In One
heapq — Heap queue algorithm / 堆队列算法
import heapq
heapq vs Priority Queue
堆队列 vs 优先队列 阅读全文
摘要:
Python 3 list sort All In One
Python sort function
List sort
list.sort( key=None, reverse=False)
默认,按照元组的第一个元素递增排序
阅读全文
摘要:
LeetCode 826 Most Profit Assigning Work All In One
Most Profit Assigning Work
阅读全文