Counting Sort (intake 39, cse day)

Question

Solve the following arry with counting sort and show how many comparisons will be made to sort the array using counting sort?

Given array={1,5,3,8,2}
a) 5
b) 7
c) 9
d) 0

[Solve it and post the pic as your answer]

in progress 0
Ask me anything 2 months 19 Answers 211 views 0

Answers ( 19 )

  1. Name : Shanta Khatun

    Id : 17183103060

  2.  

    Name: Supti howlader joya

    ID: 17183103077

  3. ID :17183103061

    Answer is = D (Comparison is 0 )

  4. ID :17183103053

    Answer  =  d (Comparison is 0 )

  5. Sorry it a private answer.

  6. Sorry it a private answer.

Leave an answer