Best case
The least an algorithm can take with the most favorable input. It's rarely used because it seldom happens.
Example
Searching for a number one by one: in the best case it's first and that's 1 step, whether the list has 10 or 1 million.
The least an algorithm can take with the most favorable input. It's rarely used because it seldom happens.
Example
Searching for a number one by one: in the best case it's first and that's 1 step, whether the list has 10 or 1 million.

Free on iOS and Android. Start from zero, no account needed.