資料結構›Ch2 陣列與字串
第 4 題/共 6 題
◀ DS 4/6
4. C++ Vector、Amortized Analysis、Dynamic Array
#DS-02-004易C++ VectorAmortized AnalysisDynamic Array
  1. This question considers "vector" in C++ STL. The usage of vector is very similar to a regular array in C/C++ in that it supports direct access. In addition, it also supports the operation push_back, which adds an element at the end of a vector. As a result, we do not need to declare the size for a vector.
📄 交大110
跳轉到第題
▤完整推導請見《WH 資工筆記 · 資料結構》Ch2 陣列與字串
本章題號 · 1–6 / 6