相关疑难解决方法(0)

C++ STL map:是访问时间O(1)?

关键是在std::mapO(1)上查找?我以为直到我想到它为止.它基于树实现,因此查找时间应为O(log N),对吗?

而且,是否有可能让O(1)查找字符串键std::unordered_map

c++ std data-structures c++11

32
推荐指数
2
解决办法
3万
查看次数

标签 统计

c++ ×1

c++11 ×1

data-structures ×1

std ×1