Cadence Design Systems interview question

Simple dsa and c++ core concepts