mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-19 07:17:54 +08:00
Add captions for all the animations.
This commit is contained in:
@@ -263,7 +263,7 @@
|
||||
我们将链表的「头结点」和「尾结点」分别看作是队首和队尾,并规定队尾只可添加结点,队首只可删除结点。
|
||||
|
||||
=== "LinkedListQueue"
|
||||

|
||||

|
||||
|
||||
=== "push()"
|
||||

|
||||
@@ -347,7 +347,7 @@
|
||||
观察发现,入队与出队操作都仅需单次操作即可完成,时间复杂度皆为 $O(1)$ 。
|
||||
|
||||
=== "ArrayQueue"
|
||||

|
||||

|
||||
|
||||
=== "push()"
|
||||

|
||||
|
||||
Reference in New Issue
Block a user