Hackerrank Maps-STL Solution
Maps are a part of the C++ STL.Maps are associative containers that store elements formed by a combination of a key value and a mapped value, following a specific order.The mainly used member functions of maps are:
Map Template:
std::map <key_type, data_type>
Declaration: