mirror of
https://github.com/krahets/hello-algo.git
synced 2025-08-02 19:53:11 +08:00
deploy
This commit is contained in:
@ -1614,6 +1614,8 @@
|
||||
<h1 id="53">5.3. 双向队列<a class="headerlink" href="#53" title="Permanent link">¶</a></h1>
|
||||
<p>对于队列,我们只能在头部删除或在尾部添加元素,而「双向队列 Deque」更加灵活,在其头部和尾部都能执行元素添加或删除操作。</p>
|
||||
<p><img alt="双向队列的操作" src="../deque.assets/deque_operations.png" /></p>
|
||||
<p align="center"> Fig. 双向队列的操作 </p>
|
||||
|
||||
<h2 id="531">5.3.1. 双向队列常用操作<a class="headerlink" href="#531" title="Permanent link">¶</a></h2>
|
||||
<p>双向队列的常用操作见下表,方法名需根据特定语言来确定。</p>
|
||||
<div class="center-table">
|
||||
|
Reference in New Issue
Block a user