public void printCoinChangingSolution(int total,int coins[]){
        List<Integer> result = new ArrayList<>();
        printActualSolution(result, total, coins, 0);
    }
This method actually prints all the combination. It takes exponential time.
src/com/interview/dynamic/CoinChanging.java