Answer: D
If there is a section of sequential code:
{ s1; s2; ... }
the Big O is the max of the Big O of the statements.
Constants are not included in Big O, which means answers A, B, C should be reduced to O(n).
Next Page+10 Index