Update docs/chapter_computational_complexity/time_complexity.md

Co-authored-by: Justin Tse <xiefahit@gmail.com>
pull/196/head
Yudong Jin 2 years ago committed by GitHub
parent 2acf85a626
commit 3fa04aeb4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -617,7 +617,7 @@ $$
var a: number = 1; // +0技巧 1
a = a + n; // +0技巧 1
// +n技巧 2
for (var i = 0; i < 5 * n + 1; i++) {
for (let i = 0; i < 5 * n + 1; i++) {
console.log(0);
}
// +n*n技巧 3

Loading…
Cancel
Save