我知道selection sort可以实现稳定或不稳定.但我想知道它是怎么回事.我认为排序算法只能稳定或只是不稳定.谁能解释一下?
selection sort
arrays sorting algorithm
algorithm ×1
arrays ×1
sorting ×1