• + 1 comment

    hi @abhinavkanoria , Map in C++ is associative containers that store elements formed by a combination of a key value and a mapped value. You can see the rest explanation from here ->

    http://www.cplusplus.com/reference/map/map/

    My submission below is the implementation of Map to solve the challenge -> https://www.hackerrank.com/challenges/sparse-arrays/submissions/code/19558681