feat(deque): add implementation of deque

This commit is contained in:
reanon
2022-11-29 10:43:47 +08:00
parent 19469aecbf
commit a554590fa8
3 changed files with 155 additions and 1 deletions

View File

@@ -7,7 +7,6 @@ package chapter_stack_and_queue
import "testing"
func TestArrayQueue(t *testing.T) {
// 初始化队列,使用队列的通用接口
var queue Queue
capacity := 10