mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 13:56:28 +08:00
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
This commit is contained in:
parent
3fa04aeb4a
commit
03aeda84e2
1 changed files with 2 additions and 2 deletions
|
@ -621,8 +621,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