Pregunta de entrevista de Barclays

coding knowledge in C++ and probability questions