Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
o(n+m) means o(n)
Mark Robinson
Programming language:
Whatever
2021-08-20 09:41:06
0
Q:
o(n+m) means o(n)
Yvainovski
Code:
Whatever
2021-07-07 18:43:11
Yes, O(M+N) means the same thing as O(max(M, N)) Since (M+N) is a linear function.
0
Related
void InsertionSort(int * a, int n) { int i, j, x; for (i = 1; i < n; i++) { x = a[i]; j = i - 1; while (j >= 0 && a[j] > x) { a[j + 1] = a[j]; j = j - 1; } a[j + 1] = x; } }
y/n cmd
c power operator
what is -> in c
cos 0
poiner in c
%.*s in c
sin 0
e.g. means
what s[i]-'0' does
par in r
hra means
New to Communities?
Join the community