What data structure is inside std::map in C++?

前端 未结 6 911
余生分开走
余生分开走 2020-12-03 11:34

I\'m beginner and learning C++ Having hard times to understand std::map concepts, because the code I\'m playing with implies that the map is a search tree, i.e.

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 11:40

    Map internally uses self-balancing BST . Please have a look on this link.self-balancing binary search trees

提交回复
热议问题