diff options
Diffstat (limited to '04-08.md')
-rw-r--r-- | 04-08.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -180,3 +180,7 @@ for(i=1; i<=n; i++){ - x = (n-1)+(n-2)+...+2+1+0 - 2x = (n-1)\*n -> x = ((n-1)\*n)/2 - O(x) = O(((n-1)\*n)/2) -> O(n^2) + +--- + +[04/10 ->](04-10.md) |