Question d’entretien chez State Street

probability, and brain teaser, coding in r