+ 1
What us complexity in programming ?
Complexity important thing to notice while coding. Give your opinion
1 Réponse
+ 1
this is how many operations does your program take to caculate something
for example for (...){...} has time complexity O(n)
or for(...){ for(...) {...} } has O(n^2)
or "for(...) {...} for(...) {...}" gives O(n) because n+n is 2n and O(2n) is O(n)- constant calues are neglected
Hope I answered your question