+ 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?
0 Respuestas
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?