Sort with Swap(0,*) (25)【贪心】——PAT (Advanced Level) Practise
题目信息1067.SortwithSwap(0,*)(25)时间限制150ms内存限制65536kB代码长度限制16000BGivenanypermutationofthenumbers{0,1,2,…,N-1},itiseasytosorttheminincreasingorder.ButwhatifSwap(0,*)istheONLYoperationthatisallowedtouse?Fo