Algorithms in C - SEDGEWICK, Robert (Addison-Wesley series in computer science, 1990)