Explanation: brute force, recursion and dynamic programming can be used to solve the dice throw problem.
Q. 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?
β
Correct Answer: (D)
brute force, recursion and dynamic programming
Explanation by: Mr. Dubey
brute force, recursion and dynamic programming can be used to solve the dice throw problem.
Discussion
Question Analytics
771
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
90%
Success Rate