Recommended by the previous post

Introduction to Algorithms (Hardcover)
http://www.amazon.com/gp/product/0262032937?ie=UTF8&tag=steveysblogra-20&link_code=wql&camp=212361&creative=380601

The Algorithm Design Manual (Hardcover)
http://www.amazon.com/gp/product/0387948600?ie=UTF8&tag=steveysblogra-20&link_code=wql&camp=212361&creative=380601