AlgorithmsAndDataStructure icon indicating copy to clipboard operation
AlgorithmsAndDataStructure copied to clipboard

Dice Throw | Dynamic Programming | Python

Open suman2826 opened this issue 5 years ago • 4 comments

Dice Throw

I will add a new file to AlgorithmsAndDataStructure/Python/Algorithms/Dynamic Programming

Type of Issue -

Please add/delete options that are not relevant.

  • [x] Adding New Code

Programming Language

Please add/delete options that are not relevant.

  • [x] Python

suman2826 avatar Oct 12 '20 10:10 suman2826

I would like to be assigned to this , Thank you!

suman2826 avatar Oct 12 '20 10:10 suman2826

@suman2826 can you elaborate a little about what this algo will do.

ExpressHermes avatar Oct 12 '20 18:10 ExpressHermes

Here we will be given n dices with f number of faces for each dice and a integer X. We have to find the number of ways to get sum X which will be equal to the summation of values on each face when all the dice are thrown.

For this problem I am going to use Dynamic Programming because it exhibits overlapping Subproblem.

suman2826 avatar Oct 13 '20 02:10 suman2826

@suman2826 assigning to you

ExpressHermes avatar Oct 13 '20 07:10 ExpressHermes

This issue is stale because it has been open for 50 days with no activity.

github-actions[bot] avatar Oct 02 '22 07:10 github-actions[bot]