Leetcode 706: Design HashMap
Problem Summary – Leetcode 706: Design HashMap
You're asked to implement a basic HashMap data structure that supports:
put(key, value) — insert/update a key-value pair.
get(key) — retrieve the value by key; return -1 if ...