You are viewing a single comment's thread. Return to all comments →
interesting. I didn't know that you can simply use m[q]++ directly before the element was inserted. Here is my solution: https://www.hackerrank.com/challenges/equality-in-a-array
Seems like cookies are disabled on this browser, please enable them to open this website
Equalize the Array
You are viewing a single comment's thread. Return to all comments →
interesting. I didn't know that you can simply use m[q]++ directly before the element was inserted. Here is my solution: https://www.hackerrank.com/challenges/equality-in-a-array