In Java Heap sort seems a best sorting algorithm while sorting an array of random numbers according to http://ift.tt/qTnDd2 But still I read that Heap sort is not stable, why so? Which sorting algorithm should be considered best algorithm while sorting an array or random numbers?
Aucun commentaire:
Enregistrer un commentaire