Computer algorithms introduction to design and analysis - Baase, Sara & Gelder, Allen Van (Pearson education, inc, South asia, 2000)