Pregunta de entrevista de Squarepoint Capital

Standard Brainteasery prob/stats questions and a single coding question (via HackerRank website)