This commit is contained in:
krahets
2023-02-26 18:17:57 +08:00
parent 80f9b68963
commit 8e0872643c
31 changed files with 99 additions and 175 deletions

View File

@@ -6,9 +6,7 @@ comments: true
对于队列,我们只能在头部删除或在尾部添加元素,而「双向队列 Deque」更加灵活在其头部和尾部都能执行元素添加或删除操作。
![deque_operations](deque.assets/deque_operations.png)
<p align="center"> Fig. 双向队列的操作 </p>
![双向队列的操作](deque.assets/deque_operations.png)
## 5.3.1. &nbsp; 双向队列常用操作