首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > deque容器

deque容器

  • 资源大小:6.90 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: Deque 容器

资 源 简 介

Design and implement the class Deque to conform to std::deque. A deque is an attractive compromise between a vector and a list. vector is: linear when adding elements to the beginning or the middle amortized constant when adding elements to the end linear when removing elements from the beginning or the middle constant when removing elements from the end constant when indexing elements list is: constant when adding elements constant when removing elements linear when indexing elements deque is: amortized constant when adding elements to the beginning or the end linear when adding elements to the middle constant when removing elements from the beginning or the end linear when removing elements from the middle constant when indexing elements A deque is very similar to a v

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP