Algorithms in C++ - Sedgewick, Robert (Addison-Wesley Pub. Co., 1992)