Question: use pyhton program, thanks In this part of the tutorial you will be writing searching and sorting functions, and code provided in lecture in your



use pyhton program, thanks
In this part of the tutorial you will be writing searching and sorting functions, and code provided in lecture in your answers, however, you should take this opportunity In a single python file, implement the following searching and sorting functions as taught in class. .A linear search that finds the smallest element in a given input list. A binary search that returns the index of the key in the list if its found You will also need to make a function that takes in an integer, n, and generates a list of n random numbers. Write a main()function to test your algorithms and make sure they work. In this part of the tutorial you will be writing searching and sorting functions, and code provided in lecture in your answers, however, you should take this opportunity In a single python file, implement the following searching and sorting functions as taught in class. .A linear search that finds the smallest element in a given input list. A binary search that returns the index of the key in the list if its found You will also need to make a function that takes in an integer, n, and generates a list of n random numbers. Write a main()function to test your algorithms and make sure they work
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
