OpenGenus/cosmos

Dice Role Simulation (DP Problem)

Open

#6,193 opened on Oct 9, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfest

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details: We have a random dice number generator with constraints like the ith number can be generated only j times. We need to find the number of distinct sequences which can be generated. The algorithm can be generalized to numbers beyond 6 as well. Can I work on it in C++?

Contributor guide