Python Boolean List Solution
class MyHashSet:\n\n    def init(self):\n        """\n        Initialize your data structure here.\n        """\n        self.val = [False] * (1000000-1)\n     
class MyHashSet:\n\n    def __init__(self):\n        """\n        Initialize your data structure here.\n        """\n        self.val = [False] * (1000000-1)\n        \n\n    def add(self, key: int) -> None:\n        self.val[key] = True\n\n    def remove(self, key: int) -> None:\n        self.val[key] = False\n\n    def contains(self, key: int) -> bool:\n        return self.val[key]\n        \n        """\n        Returns true if this set contains the specified element\n        """\n\n
['Python', 'Python3']