This commit is contained in:
krahets
2023-06-30 04:33:43 +08:00
parent ce6ce9b444
commit 0cd70d09d8
6 changed files with 965 additions and 17 deletions

View File

@@ -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)