Design and analysis of algorithms - Dave,Parag H. (Pearson Education, 2008)