For Introduction to Algorithms, Third Edition - (Mit Press) 3rd Edition by Thomas H Cormen & Charles E Leiserson & Ronald L Rivest & Clifford Stein