Big O and Counting Work
Big O describes how work grows with input size. A single loop is O(n); a dictionary lookup is O(1).
Example
seen = {}
seen["a"] = True
print("a" in seen)
Your task
Return whether a value appears in a list using a set for O(1) lookups.