Question: Write a function to sort all numbers in a list. The input of the fucntion is a list of numbers, the output is a sorted
Write a function to sort all numbers in a list. The input of the fucntion is a list of numbers, the output is a sorted list in ascending order.
Test your function with a list of at least million numbers. You may randomly generate it
Report how much time seconds the fuction takes to complete the sorting. You can choose to implement any sorting algorithm. However, do NOT use any existing builtin function or function from external module for sorting. Your function must be in plain code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
