• + 1 comment

    Can someone help me to understand this question , because it is not at all clear to me , that what is required , and how shall i start coding this one ? and are all these 6 numbers as input ? or what is the exact i/p 3 1 2 3 1 6

    and how 22 is coming as output ( is this that the max number in input is 6 , so wee need to make Permutation and Combination which makes out sume as 6 , and there are 22 possible ways in which sum is coming as 6 , given on the inputs we have ?

    (note: making this code on Java 7)