Crate simple_linked_list

Source
Expand description

Structs

Structsยง

LinkedList
The LinkedList structure is represent the singly linked list. The struct provide methods to create and manipulate the linked list.
Node
Each Node contains a piece of data and an optional reference to the next node in the list. The reference to the next node is wrapped in an Option and a Box, which allows for nodes to be heap-allocated and linked together dynamically.