How Can subtract the value of any key in a map

I Have A Map And I wanted To subtract ( -1 ) From Any Key Value.
Please Help :heart::heart::heart: !!!

image

Like this

But, as you can see, not a good idea with maps. You’d probably be better off with two int arrays.

1 Like

Thanks !!!

2 Likes