Cadence Design Systems interview question

Gate Question