Implement the HashMap


  • 0
    F

    I was asked to implement the HashMap, but not the same as implemented in Java. I was required to implement the get and put method. And if we put multiple values with the same key, all the values should be restored, not updated by the new one.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.