initial commit
This commit is contained in:
parent
4f147b1f47
commit
f08b18dc34
|
|
@ -39,7 +39,7 @@ def ll_delete(head, name):
|
|||
current = head
|
||||
while current['next'] is not None:
|
||||
if current['next']['name'] == name:
|
||||
current['next']==current['next']['next']
|
||||
current['next']=current['next']['next']
|
||||
return head
|
||||
current=current['next']
|
||||
return head
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user