@karan...
see on every ball batsman can score 0run,1 run....6runs
and we have six balls
also total runs =14
so no. of ways = coeff of x14 in (x0+x1+...+x6)(x0+x1+...+x6)(x0+x1+...+x6)(x0+x1+...+x6)(x0+x1+...+x6)(x0+x1+...+x6)
=>no. of ways = coeff of x14 in (x0+x1+...+x6)6
But max runs off each ball =4
so we cant have x5 and x6
=>no. of ways=coeff of x14 in (x0+x1+...+x4)6