+ 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
1 Resposta