what is the big oh notation in the following code?
Question 2 Not yet answered Paints out of 10.00 F Flag question What is the Big Oh notation in the following code? public static void m(int n) { int a = 0; for(int i = 0; i<n; i++) for(int j = 0; j<n; j++) a=i*j; for(int k = 0; k<n; k++) a=a+k; Big Oh notation= Font Family Fort sze ▾ Paragraph BIUS X, XENE TA RA 1
what is the big oh notation in the following code?
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am