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:

Example:

MyHashSet hashSet = new MyHashSet();

Note:

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

See the full details of the problem Design HashSet at LeetCode

Originally posted at: @github.com/halfrost/LeetCode-Go