What is the best case complexity of QuickSort?
a) O(nlogn) b) O(logn) c) O(n) d) O(n2)
a) O(nlogn) b) O(logn) c) O(n) d) O(n2)
a) O(m) b) O(n) c) O(m+n) d) O(logm + logn)
a) It is faster b) Consumes less memory c) Detects whether the input is already sorted d) All of the mentioned
a) 0 or 1 b) 2 or 3 c) 4 or 5 d) 6 or 7
a) Shell sort b) Heap sort c) Merge-sort d) Quick sort
a) log n b) O(log n) c) n logn d) O(n log n)
a) Divide and conquer b) Recur c) Decrease and conquer d) Conque
a) 1942 b) 1949 c) 1945 d) 1944
a) Partially stable b) Unstable c) Equal d) Stable
a) Least significant digits b) Most significant digits c) Least common digits d) Most common digits
a) Weighted graph b) Generalization c) Serialization d) Normalization
a) Sorting b) Radix sort c) Bucket sort d) Bubble sort
a) Non-linear sort b) List c) Bucket sort d) Set
a) Simple algorithm which require the order of n2 comparisons to sort n items. b) Sophisticated algorithm that require the O(n log 2n) comparisons to sort items c) Both of the above d) None of the above
a) Heap sort b) Bubble sort c) Linear sort d) Radix-sort
a) Heap b) Stack c) Queue d) Buffer area