Chapter 07 Algorithm design and problem solving