o(nm)

115

o(n*m) -

for(int i = 0, i < m, i++)
    for(int j = 0, j < n, j++)
        //code

Comments

Submit
0 Comments