Update docs/chapter_computational_complexity/time_complexity.md

Co-authored-by: Justin Tse <xiefahit@gmail.com>
This commit is contained in:
Yudong Jin 2023-01-05 01:01:53 +08:00 committed by GitHub
parent d5969e4070
commit 3906c3df06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}