Old Mission interview question

Probability and Coding. Vague coding question, quick probability questions.