1.

There are 10 dice having 5 faces. The faces are numbered from 1 to 5. What is the number of ways in which a sum of 4 can be achieved?(a) 0(b) 2(c) 4(d) 8This question was addressed to me in an international level competition.My doubt stems from Dice Throw Problem in section Dynamic Programming of Data Structures & Algorithms II

Answer» RIGHT choice is (a) 0

Easy explanation - Since there are 10 dice and the minimum VALUE each die can take is 1, the minimum possible sum is 10. Hence, a sum of 4 cannot be achieved.


Discussion

No Comment Found

Related InterviewSolutions