int [][] M ={{1,1000}, {2, 2400}, {3, 600}, {4, 100}};
bubbleSort(M);
(do we need create a new array N?)
after sort :
int [][] N ={ {4, 100},{3, 600},{1,1000}, {2, 2400} };
Thank you very much
收錄日期: 2021-04-13 15:36:16
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070326000051KK01021