Computer Science, asked by supreetwarraich9356, 11 months ago

Which sorting algorithm is most efficient to sort string consisting of ascii characters?

Answers

Answered by Benipal07
0
Counting sort algorithm is efficient when range of data to be sorted is fixed. In the above question, the range is from 0 to 255(ASCII range). Counting sort uses an extra constant space proportional to range of data.
Answered by puneetgill519519
0

Counting sort algorithm is efficient when range of data to be sorted is fixed. In the above question, the range is from 0 to 255(ASCII range). Counting sort uses an extra constant space proportional to range of data.


Similar questions