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:02:51 +08:00 committed by GitHub
parent 3fa04aeb4a
commit 03aeda84e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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