UBS interview question

some probability questions and the difficulty increased step by step