Running time | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Running time

https://code.sololearn.com/c21nevWfICla/?ref=app my code is running on O(n²) or on O(n³)? The inner 2 for loops take O(n²) I know that but does the first for loop makes it O(n³)? Or has no effect?

25th Aug 2021, 6:19 PM
HK Lite
HK Lite - avatar
0 Réponse