Computer algorithm introduction to design and analysis - Baase, Sara (Reading Addison Wesley, 2000)