Question: Please provide correct answer choices (c++) If we know the time complicity of function is O(n) and we know the time cost is 10s when

Please provide correct answer choices (c++)
If we know the time complicity of function is O(n) and we know the time cost is 10s when n is 10 , the time cost is 100 s when n is 100 . What is a reasonable estimation of the time cost when n is 400 . 2004001001000 Q4.2 2 Points If we know the time complicity of function is O(n2) and we know the time cost is 100 s when n is 100 , the time cost is 400 s when n is 200 . What is a reasonable estimation of the time cost when n is 1000 ? 40001000100002000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
