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