Question: 5. After developing a specialized search algorithm, young Anakin rushed into empirical testing With a limited sample size of n 100 people, the search took

5. After developing a specialized search algorithm, young Anakin rushed into empirical testing With a limited sample size of n 100 people, the search took 1 hour. After a quick check of the results, however, he noticed the test only included the men in the original data. After he corrected this mistake and included the women and children in the test, the sample size increased to n- 1000. Answer the following prompts (a) (3 points) Predict, as accurately as possible, the maximum duration the algorithm will take with the new sample size if the algorithm's complexity is O(n2) b) (2 points) How long the algorithm will take if the algorithm is (n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
