Skip to content

Glossary: Data Structures and Algorithms

Step

Also written: steps

The unit used to measure an algorithm's cost, such as one comparison per order checked. Counting steps instead of seconds gives a measure that doesn't depend on how fast a particular computer is.

Where the book teaches it

Related terms

Big-O notationWorst case