Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 2
complexity
How to calculate time complexity of an algorithm need help ā¤ļø
2 Respostas
0
If you use x nested for loops with each n iterations your complexity is O(n ^ x) for example.
Your O complexity is always definded by the worst/slowest part in your code