mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-05 13:15:30 +08:00
lint: added missing comment
This commit is contained in:
@ -786,6 +786,7 @@ $$
|
|||||||
=== "TypeScript"
|
=== "TypeScript"
|
||||||
|
|
||||||
```typescript title="time_complexity.ts"
|
```typescript title="time_complexity.ts"
|
||||||
|
/* 常数阶 */
|
||||||
function constant(n: number): number {
|
function constant(n: number): number {
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const size = 100000;
|
const size = 100000;
|
||||||
|
Reference in New Issue
Block a user