理论上deque是最灵活的队列容器了,因为像priority queue只能在一头执行一种操作很不方便;而如queue也只能在两头各执行一种操作。
posted on 2021-03-27 23:22 Eusion 阅读(64) 评论(0) 收藏 举报