Discrete math · Asymptotics and big-O

Counting steps

Judging an algorithm starts with counting how many basic steps it takes as the input grows.