Citadel interview question

Design Pattern Question, Probability Questions