Cadence Design Systems interview question

Puzzle - probability based