We know that std::vector only supports push_back and pop_back operations. Both operations run in constant time. The pop_front operation will take at-least O(n) ...
確定! 回上一頁