OpenGenus/cosmos

Dice Role Simulation (DP Problem)

Open

#6 193 ouverte le 9 oct. 2021

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)C++ (3 724 forks)batch import
Hacktoberfest

Métriques du dépôt

Stars
 (13 462 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur