Algorithms in C - Sedgewick Robert; Sedgewick Robert