Discrete math · Asymptotics and big-O
Some costs grow far faster than others, but constant factors can still decide which algorithm wins for realistic sizes.