mirror of
https://github.com/krahets/hello-algo.git
synced 2025-02-02 22:43:50 +08:00
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
This commit is contained in:
parent
d5969e4070
commit
3906c3df06
@ -601,8 +601,8 @@ $$
|
||||
console.log(0);
|
||||
}
|
||||
// +n*n(技巧 3)
|
||||
for (var i = 0; i < 2 * n; i++) {
|
||||
for (var j = 0; j < n + 1; j++) {
|
||||
for (let i = 0; i < 2 * n; i++) {
|
||||
for (let j = 0; j < n + 1; j++) {
|
||||
console.log(0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user