摘要: 双向队列 from collections import deque d = deque() 几个简单的操作 append() 右边添加一个元素 appendleft() 左添加 pop() 右边删除一个元素 popleft() 左边删除一个元素 clear() 清空队列 阅读全文
posted @ 2020-07-22 15:06 吃喝玩睡 阅读(267) 评论(0) 推荐(0) 编辑