Cadence Design Systems interview question

Average to Difficult.