Mental Model
Lookup means finding a value quickly by its key or position. Different structures store data differently, affecting how fast we find things.
Analogy: Imagine looking for a book in a library: an array is like books on a shelf in order, a linked list is like books chained hand-to-hand, and a hash map is like a librarian who knows exactly where each book is.
Array: [0]1 -> [1]2 -> [2]3 -> null
LinkedList: 1 -> 2 -> 3 -> null
HashMap: {key1 -> val1, key2 -> val2, key3 -> val3}