Update time_complexity.md

This commit is contained in:
郭立lee 2022-12-21 16:53:03 +08:00 committed by GitHub
parent 2a47d31191
commit 3b979f8d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -759,6 +759,7 @@ $$
=== "TypeScript"
```typescript title="time_complexity.ts"
/* 线性阶 */
function linear(n: number): number {
let count = 0
for (let i = 0; i < n; i++) {