mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-05 06:37:12 +08:00
Update time_complexity.md (#955)
This commit is contained in:
@ -186,7 +186,7 @@
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
根据以上方法,可以得到算法运行时间为 $6n + 12$ ns :
|
根据以上方法,可以得到算法运行时间为 $(6n + 12)$ ns :
|
||||||
|
|
||||||
$$
|
$$
|
||||||
1 + 1 + 10 + (1 + 5) \times n = 6n + 12
|
1 + 1 + 10 + (1 + 5) \times n = 6n + 12
|
||||||
|
|||||||
Reference in New Issue
Block a user