From 9011ba9493d38f8aafff67c28b0f040cc778e6e9 Mon Sep 17 00:00:00 2001 From: ImAlpha Date: Sat, 8 Jul 2023 10:54:58 -0700 Subject: [PATCH] testing timezone --- Top150Interview/380InsertDeleteGetRandomO1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Top150Interview/380InsertDeleteGetRandomO1.py b/Top150Interview/380InsertDeleteGetRandomO1.py index 1e7d3f3..7bdb9e6 100644 --- a/Top150Interview/380InsertDeleteGetRandomO1.py +++ b/Top150Interview/380InsertDeleteGetRandomO1.py @@ -10,9 +10,9 @@ def insert(self, val): """ if val is None: return None + if val not in self: self.add(val) - return True return False