19 lines456 B

Lesson 1: Big-O in plain words

In this lesson you'll work through big-O in plain words step by step, with short exercises after each idea.

Full lesson: https://glibcode.net/courses/algorithms/lessons/1

Files

  • big_o.py: timing O(n) against O(n^2) on growing inputs

Run it

python3 big_o.py

Exercises

See exercises.md. Ask in the forum after you have tried.