Add Go codes to docs, including

the chapter of stack and queue, the chapter of tree.
This commit is contained in:
Yudong Jin
2022-12-03 20:25:24 +08:00
parent 1d9a076cdd
commit ebf9024136
41 changed files with 898 additions and 486 deletions

View File

@@ -520,7 +520,7 @@ $$
```python title="space_complexity_types.py"
""" 线性阶(递归实现) """
def linearRecur(n):
print("递归 n = ", n)
print("递归 n =", n)
if n == 1: return
linearRecur(n - 1)
```