-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Contact Details
No response
What happened?
The method .find() reports all elements to be present in the Singly Linked Lists even when not present.

- Check the
.find()method with a mock-up code. - Check
.next()and.head()method implementation.
Python Version
3.9.12 (default)
What type of operating system are you using?
Windows 10
Relevant log output
llist = SinglyLinkedList()
llist.append(10) # add a new element
# find the new element in the linked list
llist.find("not present") # returns TrueCode of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working