A program consists of an
O(n)
loop followed by another
O(n)
loop. What is the Big O of the program?
A:
O(n) + O(n)
B:
2 O(n)
C:
O(2 n)
D:
O(n)
E:
O(n
2
)
Answer
Next
Page+10