Courses
LoginStart now
Courses
LoginStart now
+ 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

python3algorithmefficiency
20th Jul 2019, 7:37 AM
Aditya Anupam
Aditya Anupam - avatar
1 Réponse
+ 8
Try : https://math.stackexchange.com/questions/917331/question-about-efficiency-of-an-algorithm-big-o
20th Jul 2019, 8:08 AM
Zhenis Otarbay
Zhenis Otarbay - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de manière plus efficace, gratuitement :

  • Introduction à Python

    7.1M apprenants

  • Introduction à Java

    4.7M apprenants

  • Introduction à C

    1.5M apprenants

  • Introduction à HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Hofstadter a sequence code coach is not running
0 Votes
DSA doubt
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
Data structure using C
0 Votes
Vote Code
1 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
Welcome to my portfolio. Here you'll find a collection of my projects and creations. I specialize in [Your Specialization, e.g.
0 Votes
How can I add gradient to the background
0 Votes