diff --git a/Top150Interview/380InsertDeleteGetRandomO1.py b/Top150Interview/380InsertDeleteGetRandomO1.py index ea435cb..1e7d3f3 100644 --- a/Top150Interview/380InsertDeleteGetRandomO1.py +++ b/Top150Interview/380InsertDeleteGetRandomO1.py @@ -12,6 +12,7 @@ def insert(self, val): return None if val not in self: self.add(val) + return True return False