JPMorganChase Interview Question

How would you optimize this data structure for cache hits? What is SFINAE?