'How can I search a value of a node given a linked list
I'm relatively new to python so please excuse me if my question is simple. I've been given a task to create a function that returns the value of a node in a given Linked list and I'm quite confused about where to start and would appreciate any help
def search(tree, search_value):
queue = LinkedList()
queue.append(tree.head)
where the linked list class includes methods such as append, insert, pop, delete, get_length, get_node and get_value
Thank you
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
