aboutsummaryrefslogtreecommitdiff
path: root/design_hashset.cpp
diff options
context:
space:
mode:
authorJack Sangdahl <[email protected]>2025-02-03 15:37:19 -0700
committerJack Sangdahl <[email protected]>2025-02-03 15:37:19 -0700
commit55a67f776dd9acd258cae16ffb636751666b0f40 (patch)
tree601539de43809b70ceb8228a12c35883fa300b03 /design_hashset.cpp
parenta0030873dabb517594ae0394350d6715071f7fb8 (diff)
downloadleetcode-55a67f776dd9acd258cae16ffb636751666b0f40.tar.gz
leetcode-55a67f776dd9acd258cae16ffb636751666b0f40.zip
chore: Remove incomplete solutions
Diffstat (limited to 'design_hashset.cpp')
-rw-r--r--design_hashset.cpp12
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() {}