🌈 搜索
📅  最后修改于: 2022-03-11 14:45:51.542000             🧑  作者: Mango
def insertion(s): for i in range(0,len(s)-1): if s[i]>s[i+1]: s[i],s[i+1]=s[i+1],s[i] for j in range(i,0,-1): if s[j]