Pregunta de entrevista de JPMorganChase

I got some probability and logic questions.