mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-16 03:59:18 +08:00
Update stack in Go
This commit is contained in:
@@ -114,7 +114,7 @@ comments: true
|
||||
|
||||
=== "Go"
|
||||
|
||||
```go title="stack.go"
|
||||
```go title="stack_test.go"
|
||||
/* 初始化栈 */
|
||||
// 在 Go 中,推荐将 Slice 当作栈来使用
|
||||
var stack []int
|
||||
|
||||
Reference in New Issue
Block a user