Introduction to Algorthms - Thomas H.Cormen; Ronald L. Rivest; Charles E. Leiserson (PHI, 2001)