Algorithms

14. Algorithms#

This chapter introduces algorithm foundations using a simple input-process-output model.

  • Algorithm steps as input, process, and output

  • Sequence, decision, and repetition as control patterns

  • Runtime measurement and Big O growth

  • Search algorithms and tradeoffs

  • Sorting algorithms and benchmark patterns

Video

This overview introduces algorithmic thinking, searching, sorting, and Big O reasoning.

Learning Goals

By the end of this chapter, you will be able to:

  1. Explain an algorithm using input, process, and output

  2. Identify sequence, decision, and repetition in algorithm steps

  3. Connect efficiency to Big O growth trends

  4. Apply a small design checklist before coding

  5. Prepare for search and sorting notebooks

Chapter Flow

Chapter Overview Slides