Hi Mattia, what u have is just counted the number of 0 and 1 in the given array but u haven't sorted them. what i want u is to sort the array and the sorting should be stable sort as in the case of counting sort. Bye
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---