+ 2

What is the run time efficiency of the program if the the efficiency of the algorithm *doIt* can be expressed as O(n) = n^2 ?

i = 1 while i<=n: j = 1 while j<n: doIt (........) j = j+1 i = i + 1

20th Jul 2019, 7:37 AM
Aditya Anupam
Aditya Anupam - avatar
1 Antwort