Ordered and unordered map

As I have no idea about how ordered and UMap work. So I want to learn about these.
As I have read some tutorials on these. And tried to solve some problems.
But I came to know that I cant solve them as there were no examples which could provide better understanding of maps and how they work.
So I need some material to understand these topics.
If possible please share tutorials or notes.
Thanks

Excuse my English.

2 Likes

Just read it up from gfg. It is given pretty well. These are very important topics btw. You can also look up for videos on YouTube.

try reading Standard Template Library Tutorial and Reference by Nicolai M. Josuttis
and look at these
https://en.cppreference.com/w/cpp/container/unordered_map
https://en.cppreference.com/w/cpp/container/map

Standard Template Library Tutorial and Reference by Nicolai M. Josuttis is one of the best book i have ever seen for Standard C++ Library, the book explains the concepts with implementaion in detail and it’s really easy to pick up for beginners