Algorithms

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.

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

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