Day 42 of LeetCode Challenge
Problem 1: Coin Change
Link to the problem: https://leetcode.com/problems/coin-change/
class Solution {
private int answer(int[] coins, int amount, HashMap<Integer, Integer> map){
if(amount<0) return -1;
if(amount==0) return 0;
...
tusharpant.hashnode.dev3 min read