You are given an array aaa of length nnn and you need to rearrange the array to satisfy that there exists at least one number xxx that appears at least once in the array and for each pair i,j(1≤i
You are given an array aaa of length nnn and you need to rearrange the array to satisfy that there exists at least one number xxx that appears at least once in the array and for each pair i,j (1≤i(图片来源网络,侵删)