Pergunta de entrevista da empresa JPMorganChase

I got some probability and logic questions.