Synopsys interview question

RAII, time complexity, cache misses