C++ Easy
\nclass MyHashSet {\npublic:\n    vector<bool> hash_table;\n    MyHashSet() {\n        hash_table = vector<bool>(1000001, false);\n    }\n    \n    void add(int
```\nclass MyHashSet {\npublic:\n    vector<bool> hash_table;\n    MyHashSet() {\n        hash_table = vector<bool>(1000001, false);\n    }\n    \n    void add(int key) {\n        hash_table[key] = true;\n    }\n    \n    void remove(int key) {\n        hash_table[key] = false;\n    }\n    \n    /** Returns true if this set contains the specified element */\n    bool contains(int key) {\n        return hash_table[key] == true;\n    }\n};\n\n/**\n * Your MyHashSet object will be instantiated and called as such:\n * MyHashSet* obj = new MyHashSet();\n * obj->add(key);\n * obj->remove(key);\n * bool param_3 = obj->contains(key);\n */\n```
['C', 'C++']