LFZ Web Dev 08/22 Senior Side > data-structures-linked-lists > Flashcards
How are linked lists different from an array?
linked list have linear access whereas arrays have random access
How would you access an arbitrary node in a linked list (not just the “head”)?
loops
Time complexity of linked list.
O(n), the more inputs the more iterations (more iterations = steps x n). longer list = more steps