CodePudding user response:
First can be found using polling method is greater than m and less than the two positions of m, and then put all greater than m value back one, put m move out of positionCodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html