Fundamental algorithms (the art of computer programming volume-1) - Knuth, Donald E. (New Delhi, 1985)