Update time_complexity.md (#955)

This commit is contained in:
Florance 2023-11-20 02:05:40 +08:00 committed by GitHub
parent 9526838a35
commit 732750b902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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