Update recursion/recursive_datastructure/solution/lists.py
This commit is contained in:
1 parent
c7c1f3ea98
commit
c83f33cfca
1 file changed
+1
-1
@@ -18,7 +18,7 @@ class LinkedList[T]:
|
||||
if len(self) != len(other):
|
||||
return False
|
||||
for i in range(0, len(self)):
|
||||
if self[i] != self[i]:
|
||||
if self[i] != other[i]:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
Reference in new issue
Block a user