Unify the function naming of

queue from `offer()` to `push()`
This commit is contained in:
Yudong Jin
2023-02-02 01:43:01 +08:00
parent a0ee691475
commit 7d14c9440e
29 changed files with 184 additions and 189 deletions

View File

@@ -22,7 +22,7 @@ func TestStack(t *testing.T) {
stack = append(stack, 2)
stack = append(stack, 5)
stack = append(stack, 4)
fmt.Print("栈 = ")
fmt.Print("栈 stack = ")
PrintSlice(stack)
/* 访问栈顶元素 */