Algorithms in C - Sedgewick, Robert (Addison-Wesley Publ. Co., 1990)