OpenGenus/cosmos

Dice Role Simulation (DP Problem)

Open

#6193 aperta il 9 ott 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C++ (3724 fork)batch import
Hacktoberfest

Metriche repository

Star
 (13.462 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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++?

Guida contributor