Introduction to Algorithms, Second Edition (2001)

by T H Cormen, C E Leiserson, R L Rivest, C Stein