mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 14:36:29 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue