Intrpduction to Algorithms - CORMEN,T.H; LEISETSON,C.E; ROVEST,R.L; STEIN,C (PHI New Delhi, 2001)