Cadence Design Systems interview question

c++ coding problem domain knowledge