Python's 'heapq' module
Finding the largest and smallest items in a collection with Python's 'heapq' module
Tags: python, beginners, devtips, learning