ABSTRACT

The previous two chapters introduced important ideas about algorithms and how they can be implemented in a programming language like Python. The algorithms presented-the Sieve of Eratosthenes, linear search, and insertion sort-all used a very straightforward approach to solving their respective problems. At the heart of those algorithms is a simple operation, such as storing a placeholder in a list or comparing two objects, and the problem was solved by repeating these operations until the the final result was produced.