Design And Analysis Of Algorithms Chapter 3