Computer Science, asked by ratansy0123, 10 months ago

Q22 Consider the following code.
Se
1. for (int i = 1; i <=m; i += c) {
2.
// some 0(1) expressions
3. }
4. for (int i = 1; i <=n; i += c) {
5.
// some 0(1) expressions
6.
}
What will be the time complexity of the above code?
Ops: A. OO(mn)
B. O Odlog, m)
C 0 0(m²)
D. OO(m+n)​

Answers

Answered by Arudhra
0

Answer:

D). oo(m+n)

.

♥️♥️♥️♥️♥️♥️

Similar questions