Update recursion/recursive_datastructure/solution/lists.py
This commit is contained in:
@ -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