O(1) vs. O(n)