You have an array of 1 million user IDs. Someone asks: "Is user ID 7294 in this array?" With an array (unsorted): Scan every element. O(n). For 1 million elements, that's 1 million comparisons. With a ...