Introduction to Algorithms - Cormen, Thomas H. (autor) (Massachusetts Institute of Technology)