Fundamental algorthims: art of computer programming - Knuth D E (New Delhi Narosa Pub, 1973)