Tell me about how you would implement a data structure that supports set, get, and setAll operations in O(1).
Implement run_operations(operations), where each operation is ['set', key, value], ['get', key], or ['setAll', value]. Return the results of get operations in order. A missing key returns None.
Use arbitrary string keys and integer values. Both individual operations and the complete operation sequence must run in O(1) amortized time per operation.
def run_operations(operations):