CS502 · Midterm#9
Consider the following code:
For(j=1; j<n;j++)
For(k=1; k<15;k++)
For(l=5; l<n; l++)
{
Do_something_constant();
}
What is the order of execution for this code.
Show correct answer
Correct answer: A. O(n)
Check community answers against your course notes.