Algorithms C++ 1st (first) Edition by Sedgewick, Robert published by Addison Wesley (1992)