Question: One algorithm takes 1 sec to execute on your machine to process a dataset of size N. You replace your machine with one that is
One algorithm takes 1 sec to execute on your machine to process a dataset of size N. You replace your machine with one that is 10 times faster. What will be the size of the dataset you can process in 1 sec, if the execution time for a dataset of size n is proportional to
a) n
b) n2
c) log n
?
Add a brief justification in addition to giving your answer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
