Add C++ code for the linkedlist deque and array deque (#400)

This commit is contained in:
Yudong Jin
2023-03-02 03:00:14 +08:00
committed by GitHub
parent 902be479b2
commit 4f941e3d99
4 changed files with 351 additions and 6 deletions
@@ -8,9 +8,9 @@ import (
"container/list"
)
/* 基于链表实现的双队列 */
/* 基于双向链表实现的双队列 */
type linkedListDeque struct {
// 使用内置包 list 来实现栈
// 使用内置包 list
data *list.List
}