filmov
tv
heapq
Показать описание
A short introduction to the heapq module in Python that implements a binary heap (priority queue) - and an experimental comparison with using append-min-remove on a standard Python list.
Lecture in Danish.
00:00 Module heapq (priority queue)
02:35 heapify
05:18 Time comparison heapq vs list operations
Lecture in Danish.
00:00 Module heapq (priority queue)
02:35 heapify
05:18 Time comparison heapq vs list operations