Discussion Locked

algorithms

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can someone please tell me what the following algorithms are?
binsort, bubblesort, merge-sort, insertsort, quicksort and selectsort.

O(n) is a insert algorithm
O(log n) is a ---algorithm
O (n log n) ?is a ---algorithm
O(n2-Squared) is a ----algorithm

an example table like this would be perfect many thanks

7 replies

by rmaheh

o(n logn)- quick-sort
0(log n)-binsort
o(n)-insertsort
o(n2-squared)-mergesort

by rmaheh

o(n logn)- quick-sort
0(log n)-binsort
o(n)-insertsort
o(n2-squared)-mergesort

This discussion is closed to new replies.