Time complexities from best to worst

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

6 Terms

1
New cards

O(1) - Constant Time

Excellent/Best

2
New cards

O(log n) - Logarithmic Time

Good

3
New cards

O(n) - Linear Time

Fair

4
New cards

O(n^2) - Quadratic Time

Worst

5
New cards

O(2^n) - Exponential Time

Worst

6
New cards

O(n!) - Factorial Time

Worst