Question: What is the worst case time complexity for distribution sort, where nmax > n? n is the number of elements in the array, nmax

What is the worst case time complexity for distribution sort, where nmax > n? n is the number of elements in the array, nmax is the range of the unique values, i.e, the largest unique value - the smallest unique value. O( nmax log (nmax)) O O(n) O(n log (n)) O O(log n) O O(nmax)
Step by Step Solution
There are 3 Steps involved in it
The worstcase time complexity for distribution sort also known as counting sort can be described as ... View full answer
Get step-by-step solutions from verified subject matter experts
