public static void main(String args[]){
        int score[] = {1,2,3};
        NumberOfWaysToScorePoints now = new NumberOfWaysToScorePoints();
        System.out.println(now.version1(score, 4));
        System.out.println(now.version2(score, 4));
    }
Finding the number of ways a given score could be reached for a game with 3 different ways of scoring (e.g. 3, 5 and 10 points).
test case
what happens if total can't be formed with given values
what if numbers are 0 or negative
src/com/interview/dynamic/NumberOfWaysToScorePoints.java