Question: Given n data values, an algorithm processes these n data values with a running time given by the equation T ( n ) = 7

Given n data values, an algorithm processes these n data values with a running time given by the equation T(n)=7n3+ n +12. Which of the following statements is true about T(n)?
Group of answer choices
T(n) is in Big O( n*n*n ) because with a c of 1 and a n0=20, c * T(n) is less than Big O( n*n*n ) for all n >= n0
Actually, T( n ) is not in Big O( n*n*n )
T(n) is in Big O( n*n*n ) because with a c of 7 and a n0=1, c * T(n) is less than Big O( n*n*n ) for all n >= n0
T(n) is in Big O( n*n*n ) because with a c of 20 and a n0=1, c * T(n) is less than Big O( n*n*n ) for all n >= n0

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!