Update recursion/recursive_datastructure/solution/lists.py
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user