mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-01 17:53:18 +08:00
build
This commit is contained in:
@@ -324,7 +324,7 @@ comments: true
|
||||
|
||||
```python title=""
|
||||
def algorithm(n: int) -> None:
|
||||
a = 0 # O(1)
|
||||
a = 0 # O(1)
|
||||
b = [0] * 10000 # O(1)
|
||||
if n > 10:
|
||||
nums = [0] * n # O(n)
|
||||
|
||||
Reference in New Issue
Block a user