Other Flashcards

(1 cards)

1
Q

Worst case and best case of insertion sort

A

Worst case - O(n^2)
Best case - O(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly