Check out example codes for "traversing unordered_map". It will help you in understanding the concepts better.

Code Example 1

unordered_map<string, int> umap;

for (auto x : umap) 
	cout << x.first << " " << x.second << endl;

Learn ReactJs, React Native from akashmittal.com