Solving Design HashSet in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.

Problem Description

To be specific, your design should include these functions:


MyHashSet hashSet = new MyHashSet();


  • Please do not use the built-in HashSet library.

See the full details of the problem Design HashSet at LeetCode

Originally posted at: