24/40
Part 5 of 8 · Merging and schedulingWatch
Watch · 2 min

Greg Hogg puts tuples on a heap: it orders them by the first item and breaks ties with the second.

Heaps & Priority Queues - Heapify, Heap Sort, Heapq Library - DSA Course in Python Lecture 9 · Greg Hogg · Jul 2024YouTube