mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-09 22:16:06 +00:00
Add C++ code for the linkedlist deque and array deque (#400)
This commit is contained in:
@@ -8,9 +8,9 @@ import (
|
||||
"container/list"
|
||||
)
|
||||
|
||||
/* 基于链表实现的双端队列 */
|
||||
/* 基于双向链表实现的双向队列 */
|
||||
type linkedListDeque struct {
|
||||
// 使用内置包 list 来实现栈
|
||||
// 使用内置包 list
|
||||
data *list.List
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user