Question
Sorting algorithms Write a program IN PYTHON that will: Generate a list of 100 number elements and one of 1000 elements, please use the random()
Sorting algorithms
Write a program IN PYTHON that will:
Generate a list of 100 number elements and one of 1000 elements, please use the random() function.
Please add this code to a program that will use two of the sorting algorithms. Run each of the sorting algorithms on 100 elements and 1000 elements. Numbers are the preferred element, but you can use whatever you want, just explain what you did.
Which is more efficient and how did you determine this?
Please use any code that you created to solve this.
Please provide explanation and analysis for all created programs through detailed comments in the Python code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started