Sedgewick, Algorithms, 4th Edition