SUNRISE FUTURES Interview Question

Background, C++, probability.