兩種實現思路:. 第一種,先排序,再比較相鄰值,移除重複值. local testTable = {2,1,3,3,3,3,3,7,9,6,5} function test(list) table.sort(list)
確定! 回上一頁