SUNRISE FUTURES interview question

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