Remove center-table from docs.

Add header to the tables.
This commit is contained in:
krahets
2023-08-19 19:22:08 +08:00
parent 4eb621dda7
commit 70227c82cb
18 changed files with 26 additions and 78 deletions

View File

@@ -7,8 +7,7 @@
## 双向队列常用操作
双向队列的常用操作如下表所示,具体的方法名称需要根据所使用的编程语言来确定。
<div class="center-table" markdown>
<p align="center"> 表:双向队列操作效率 </p>
| 方法名 | 描述 | 时间复杂度 |
| ----------- | -------------- | ---------- |
@@ -19,8 +18,6 @@
| peekFirst() | 访问队首元素 | $O(1)$ |
| peekLast() | 访问队尾元素 | $O(1)$ |
</div>
同样地,我们可以直接使用编程语言中已实现的双向队列类。
=== "Java"