Big O describes the complexity at which a code solves a certain problem in terms of its consumption of time and space, consider these 4 keys:
a linked list is a set of related nodes
where each node references another node, either singly when each node reference the next node only, or doubly when each node references both next and previous nodes.
Some common terminology needed are:
When dealing with linked lists it is more convenient to use while loops to iterate through, reaching null
means the linked list has finished.
Some pseudo code for checking if a linked list contains a certain value and for adding to a linked list will help clear the idea