Quote:
Originally Posted by sachin2807 they have given a totally diff solution.They divided it into four cases
CASE 1: All fruits are the same.
CASE 2: Three fruits same and fourth one is different.
CASE 3: Two fruits same while other two are different.
CASE 4: Two fruits are of one type while the other two are of another type
Totally,
2+6+3+3=14 |
@sachin.. my soln is also the same...
I used the formula isntead of using all the cases..
a+b+c = 4
(n+r-1)C(R-1) = (4+3-1)C2 = 6C2
in this one variety can be selected utmost 3,
so answer will be 6c2-1 =14
the usual way,
112--- 3 ways(3!/2!)
202--- 3 ways
301--- 6 ways
400 --- 2 ways(there is only 3 fruits of one type)..
@monil bhai.... why did u stop after finding the 755^1, why dint u proceed further to find the remainder?? I am not very clear with ur method, can u pls explain???