Best case

The cheapest an algorithm can be on the easiest input. A search that finds the item on the first try has a best case of one step. Best case alone says little, so it is always reported with the others.

Back to the glossary