Sorting an array with minimal number of comparisons

前端 未结 6 1281
情话喂你
情话喂你 2020-11-29 06:09

I need some help with my CS homework. I need to write a sorting routine that sorts an array of length 5 using 7 comparisons in the worst case (I\'ve proven that 7 will be ne

6条回答
提交回复
热议问题