Cadence Design Systems interview question

probability questions, pattern matching questions