Question: Lets assume the following algorithm is used to process n number of records. You run the algorithm for 6,561 records and the execution time is
Lets assume the following algorithm is used to process n number of records. You run the algorithm for 6,561 records and the execution time is 30 minutes. Using the same algorithm, you now have to process another set, which contains 43,046,721 records. How many minutes will that take?

Explain your answer, please.
1. Let's assume the following algorithm is used to process n number of records. You run the algorithm for 6,561 records and the execution time is 30 minutes. Using the same algorithm, you now have to process another set, which contains 43,046,721 records. How many minutes will that take? someAlgorithm (int n) { while (n > 0) { for (int i = 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
