Sep 4, 2018 · 1 min read
Take a look at the similar solution at https://stackoverflow.com/a/46432113/10171055 — the set() method in your implementation does not consider the case when an item is renewed (already exists).
Take a look at the similar solution at https://stackoverflow.com/a/46432113/10171055 — the set() method in your implementation does not consider the case when an item is renewed (already exists).