Your question is Array Sorting Implementation. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Airbus Americas Customer Services processes numeric identifiers such as aircraft part references and maintenance event codes. Given an array of integers, return a new array containing the same values in nondecreasing order.
Implement the sorting algorithm yourself. Do not call Python's built-in sort() or sorted() functions. After implementing the function, explain why you selected the algorithm and state its time and space complexity.
nums, a list of integers. The list may be empty and may contain duplicate or negative values.nums in nondecreasing order.def sort_numbers(nums):