cacm.acm.org

An algorithm for a better bookshelf

Drop in at a library, and you’ll likely notice that most shelves aren’t full—librarians leave some empty space on each shelf.