Question: The running time T A ( N ) of algorithm A is proportional to N whilst the running time T B ( N ) of

The running time TA(N) of algorithm A is proportional to N whilst the running time TB(N) of algorithm B is proportional to N2.
If the value of TA(16) is 80 and the value of TB(16) is 1280, what are the values of TA(80) and TB(80)?
TA(80)=400 and TB(80)=32,000
none of the others
TA(80)=16 and TB(80)=16
TA(80)=400 and TB(80)=6,400
TA(80)=400 and TB(80)=3125
The running time T A ( N ) of algorithm A is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!