ML Engineer MasterClass (April) | 6 seats left

[Meta - Medium] Maximum Payout in Die Roll

[Meta - Medium] Maximum Payout in Die Roll

Last Updated: March 2024

Problem

You can roll a 6-sided dice at most three times. You will be given $X where X is the highest roll you get. You can choose to stop rolling if you roll a 6. What is your expected payout?


Solution

Solving the expected payout requires you to understand how to calcul...

Unlock the full lesson

Created by interviewers from Google and Meta. Master every concept you need to land your dream role.

All courses — Data, ML/AI & Quant
Unlimited coding submissions
Hands-on projects with real datasets
Detailed solutions in text & video
Monthly content updates
Join Premium