OpenGenus/cosmos

Dice Role Simulation (DP Problem)

Open

#6.193 geöffnet am 9. Okt. 2021

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.724 Forks)batch import
Hacktoberfest

Repository-Metriken

Stars
 (13.462 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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