Vidyalelo
Data Structure · Q130

Dynamic Programming in Data Structures

Programming · Data Structure · question 130

Q130

You are given n dice each having f faces. You have to find the number of ways in which a sum of S can be achieved. This is the dice throw problem. Which of the following methods can be used to solve the dice throw problem?

A.
Brute force
B.
Recursion
C.
Dynamic programming
D.
Brute force, Recursion and Dynamic Programming
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board