标签:
伪代码:
for i=2 to n min=A[i-1] for j=i-1 to n if A[j]<min min=A[j] A[i-1]=min
选择算法
原文地址:http://www.cnblogs.com/Wanggcong/p/4705962.html