o(nm)

119

o(n*m) -

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

Comments

Submit
0 Comments