Algorithms in C++ - Sedgewick, Robert (Pearson education, 1998)