Invitation to Computer Science 6 th Edition Chapter 2 The Algorithmic Foundations of Computer Science.