Compute the size of the problem that can be solved on a machine that takes 10−12 sec/op in one day when T(n) = 15n2,8n3,2n,3n,n!,nlogn.
Number of seconds in 1 day = 24*60*60 = 86400
Say each instruction takes 10 secs so we can solve:
Time taken for n instructions is T(n)*10
So
Get Answers For Free
Most questions answered within 1 hours.