利用归并排序解题 function feng(data,x,y,sum){ if(x<y){ let k = parseInt(JSON.stringify((x+y)/2)); feng(data,x,k,sum); feng(data,k+1,y,sum); hebing(data,x,k,y,sum); } } function hebing(data,x,k,y,sum){//中间值k属于左侧 let i=x,j=k+1,len=0; while(i<=k&&j&...