Re: there are 7 bags and 7 balls out of which
[#permalink]
13 Mar 2020, 13:48
Since 3 balls are identical, their order in the bags doesn't matter. Thus, we only need to find all the possible combinations of bags for the 4 distinct balls. This can be done by selecting 4 bags out of 7 (\(7C4\)) and then shuffling the order of the 4 distinct balls (\(4!\)).
Hence, the final answer is \(7C4 * 4! = 840\)