Add the figure of assembling blocks.

Update some texts.
This commit is contained in:
krahets
2023-05-31 01:04:40 +08:00
parent 8247a611d7
commit e35e2e31eb
5 changed files with 7 additions and 5 deletions

View File

@ -8,6 +8,8 @@
从数据结构与算法的角度来看,积木的各种形状和连接方式代表数据结构,而组装说明书上的一系列步骤则是算法。
![拼装积木](algorithms_are_everywhere.assets/assembling_blocks.jpg)
**例二:查阅字典**。在字典里,每个汉字都对应一个拼音,而字典是按照拼音的英文字母顺序排列的。假设我们需要查找一个拼音首字母为 $r$ 的字,通常会这样操作:
1. 翻开字典约一半的页数,查看该页首字母是什么(假设为 $m$