From 71e60e460c2e8229cfc5ccdf5cea0fdb32729aef Mon Sep 17 00:00:00 2001 From: Haroon S Date: Sun, 3 Feb 2019 14:32:39 +1100 Subject: [PATCH] fixes #3 --- py/datastructures/linkedlists/singlylinkedlist.py | 1 - 1 file changed, 1 deletion(-) diff --git a/py/datastructures/linkedlists/singlylinkedlist.py b/py/datastructures/linkedlists/singlylinkedlist.py index 3952080..b597dbb 100644 --- a/py/datastructures/linkedlists/singlylinkedlist.py +++ b/py/datastructures/linkedlists/singlylinkedlist.py @@ -44,7 +44,6 @@ def remove(self, val): next = self.head if next and next.val == val: self.head = next.next - self.head = None next = None return