SUNRISE FUTURES Interview Question

Two probability questions, and one coding problem (dynamic programming)