diff options
author | Jack Sangdahl <[email protected]> | 2025-02-03 15:37:19 -0700 |
---|---|---|
committer | Jack Sangdahl <[email protected]> | 2025-02-03 15:37:19 -0700 |
commit | 55a67f776dd9acd258cae16ffb636751666b0f40 (patch) | |
tree | 601539de43809b70ceb8228a12c35883fa300b03 /design_hashset.cpp | |
parent | a0030873dabb517594ae0394350d6715071f7fb8 (diff) | |
download | leetcode-55a67f776dd9acd258cae16ffb636751666b0f40.tar.gz leetcode-55a67f776dd9acd258cae16ffb636751666b0f40.zip |
chore: Remove incomplete solutions
Diffstat (limited to 'design_hashset.cpp')
-rw-r--r-- | design_hashset.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/design_hashset.cpp b/design_hashset.cpp deleted file mode 100644 index 52d1097..0000000 --- a/design_hashset.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "leetcode.h" - -class MyHashSet { -public: - vector<bool> ans; - MyHashSet() { ans.resize(1e6 + 1, false); } - void add(int key) { ans[key] = true; } - void remove(int key) { ans[key] = false; } - bool contains(int key) { return ans[key]; } -}; - -int main() {} |