mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 06:07:20 +08:00 
			
		
		
		
	Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
This commit is contained in:
		@ -617,7 +617,7 @@ $$
 | 
				
			|||||||
        var a: number = 1;  // +0(技巧 1)
 | 
					        var a: number = 1;  // +0(技巧 1)
 | 
				
			||||||
        a = a + n;  // +0(技巧 1)
 | 
					        a = a + n;  // +0(技巧 1)
 | 
				
			||||||
        // +n(技巧 2)
 | 
					        // +n(技巧 2)
 | 
				
			||||||
        for (var i = 0; i < 5 * n + 1; i++) {
 | 
					        for (let i = 0; i < 5 * n + 1; i++) {
 | 
				
			||||||
            console.log(0);
 | 
					            console.log(0);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        // +n*n(技巧 3)
 | 
					        // +n*n(技巧 3)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user