Files
freeCodeCamp/curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-181-investigating-in-how-many-ways-objects-of-two-different-colours-can-be-grouped.md
2022-02-28 08:59:21 +01:00

882 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f4231000cf542c50ff34 Problema 181: Indagare in quanti modi possono essere raggruppati oggetti di due colori diversi 5 301817 problem-181-investigating-in-how-many-ways-objects-of-two-different-colours-can-be-grouped

--description--

Dati tre oggetti neri B e un oggetto bianco W, essi possono essere raggruppati in 7 modi:

(BBBW)\\;(B,BBW)\\;(B,B,BW)\\;(B,B,B,W)\\;(B,BB,W)\\;(BBB,W)\\;(BB,BW)

In quanti modi possono essere raggruppati sessanta oggetti neri B e quaranta oggetti bianchi W?

--hints--

colorsGrouping() dovrebbe restituire 83735848679360670.

assert.strictEqual(colorsGrouping(), 83735848679360670);

--seed--

--seed-contents--

function colorsGrouping() {

  return true;
}

colorsGrouping();

--solutions--

// solution required