How would you design a data structure to support efficient operations for a real workload, and what constraints would you optimize for?
Implement an LRU cache supporting set, get, and delete operations. get and set must update recency, and each operation should run in O(1) time. Return a list containing results only for get operations, using null for missing keys. For example, setting a, setting b, getting a, then setting c with capacity 2 evicts b.
def process_operations(operations, capacity):