python算法日記(歸併排序)_leetcode 148. 排序鏈表 912. 排序數組

912. 排序數組:python 給定一個整數數組 nums,將該數組升序排列。數組 示例 1:app 輸入:[5,2,3,1] 輸出:[1,2,3,5] 示例 2:函數 輸入:[5,1,1,2,0,0] 輸出:[0,0,1,1,2,5]指針 提示:code 1 <= A.length <= 10000 -50000 <= A[i] <= 50000排序 來源:力扣(LeetCode)連接:htt
相關文章
相關標籤/搜索