1. 程式人生 > >Leetcode 912. Sort an Array

Leetcode 912. Sort an Array

pre spa tar num bsp clas array style sort

class Solution:
    def sortArray(self, nums: List[int]) -> List[int]:
        return sorted(nums)

Leetcode 912. Sort an Array