what is the big oh notation in the following code?

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

what is the big oh notation in the following code?

Post by answerhappygod »

what is the big oh notation in the following code?
What Is The Big Oh Notation In The Following Code 1
What Is The Big Oh Notation In The Following Code 1 (42.96 KiB) Viewed 19 times
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply