Update recursion/recursive_datastructure/solution/lists.py

This commit is contained in:
2024-02-17 17:02:47 +01:00
parent c7c1f3ea98
commit c83f33cfca

View File

@ -18,7 +18,7 @@ class LinkedList[T]:
if len(self) != len(other): if len(self) != len(other):
return False return False
for i in range(0, len(self)): for i in range(0, len(self)):
if self[i] != self[i]: if self[i] != other[i]:
return False return False
return True return True