diff --git a/0203-Remove-Linked-List-Elements.py b/0203-Remove-Linked-List-Elements.py index 5572409..788e253 100644 --- a/0203-Remove-Linked-List-Elements.py +++ b/0203-Remove-Linked-List-Elements.py @@ -12,6 +12,7 @@ # self.val = x # self.next = None +#Time Complexity - O(n), Space Complexity - O(1) class Solution: def removeElements(self, head: ListNode, val: int) -> ListNode: zero_node = ListNode(0)