• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu
+ 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?

c++timecomplexity
25th Aug 2021, 6:19 PM
HK Lite
HK Lite - avatar
1 Antwoord

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
debate which is better
6 Votes
Mobile app not working sometimes
0 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Is anyone else having this issue?
2 Votes
how to view only application
0 Votes
If very confusing
0 Votes
Arduino
2 Votes
I’m really confused
0 Votes