Is this the correct way to write a selection sort function that sorts from beginning of the list (Python)?

前端 未结 0 497
迷失自我
迷失自我 2020-12-05 22:07

Suppose we have the following function, which uses selection sort to sort from the end of the list:

def selection_sort(ls):
    \'\'\'Assumes ls is a list of          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题