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

@@ -36,18 +36,15 @@
![拼装积木](what_is_dsa.assets/assembling_blocks.jpg)
两者的详细对应关系如下表所示。
<p align="center"> 表:将数据结构与算法类比为积木 </p>
<div class="center-table" markdown>
| 数据结构与算法 | LEGO 乐高 |
| 数据结构与算法 | 积木 |
| -------------- | ---------------------------------------- |
| 输入数据 | 未拼装的积木 |
| 数据结构 | 积木组织形式,包括形状、大小、连接方式等 |
| 算法 | 把积木拼成目标形态的一系列操作步骤 |
| 输出数据 | 积木模型 |
</div>
值得说明的是,数据结构与算法是独立于编程语言的。正因如此,本书得以提供多种编程语言的实现。
!!! tip "约定俗成的简称"