Problem - Dice Roll expectation
Problem link:
https://online.codingblocks.com/app/player/158115/content/165260/5108/code-challenge
This problem is same as Coupon Collector Problem right?
We can apply the same logic to solve this?
Coupon collector problem link - https://online.codingblocks.com/app/player/158115/content/165228/62/lecture
Question on Dice Roll Expectation
Hey @thirumeni.m07 yes ,this problem is the classic coupon collector problem.
E(x) = n (1 + 1/2 + 1/3 + ..... + 1/n) here n = 6 so now you can easily compute the answer.
Derivation of this problem has been explained in the course, look for the video.
1 Like
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.