Skip to content

Commit 35cd7d7

Browse files
authored
Update p03_keep_last_n_items.rst
明确语义
1 parent 597a9c8 commit 35cd7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c01/p03_keep_last_n_items.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@
8585
>>> q.popleft()
8686
4
8787
88-
在队列两端插入或删除元素时间复杂度都是 ``O(1)`` ,而在列表的开头插入或删除元素的时间复杂度为 ``O(N)`` 。
88+
在队列两端插入或删除元素时间复杂度都是 ``O(1)`` ,区别于列表,在列表的开头插入或删除元素的时间复杂度为 ``O(N)`` 。

0 commit comments

Comments
 (0)