3,920 views
1 votes
1 votes
Given an array where numbers are in range from 1 to n6, which sorting algorithm can be used to sort these number in linear time?

1)Counting Sort

2)Radix Sort

3)Bubble Sort

4)Merge Sort.

Please log in or register to answer this question.

Related questions

3 votes
3 votes
3 answers
2
sunil sarode asked Jan 23, 2018
2,963 views
I am not able to get this formula (number of input * number of digit *base of number )I am not getting how base of number is important ?Thanks :)
1 votes
1 votes
2 answers
4
Pradeep Verma asked Jul 7, 2018
510 views