I am sorry I did not get your solution. So if the given array is say { 5, 1, 8, 100 } all are > 1, how will your algo work? Or you had counting sort in mind? for my problem, counting sort is ruled out.
- [algogeeks] Re: Finding duplicate pramod
- [algogeeks] Re: Finding duplicate Dhyanesh
- [algogeeks] Re: Finding duplicate adak
- [algogeeks] Re: Finding duplicate Dhyanesh