Describe a data structure for which getValue(int index), setValue(int index, int value), and setAllValues(int value) are all O(1).
Sigiloso
You end up having to build 3 arrays, 1 for the normal array and 2 to track which values have and have not been set since the last setAll().