Pergunta de entrevista da empresa State Street

probability, and brain teaser, coding in r