You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because in the function remove_by_value(self,data), the function would return if data is found and deleted, or it would return when the while loop ends, i.e., we have reached the end of the linked-list without finding the desired data. So if "figs" isn't in the list, this function would return after it goes over the whole list. There would not be any error.
data-structures-algorithms-python/data_structures/3_LinkedList/Solution/singly_linked_list_exercise.py
Line 129 in 7d353b8
The text was updated successfully, but these errors were encountered: