Ayush7614 / Daily-Coding-DS-ALGO-Practice

A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
https://daily-ds-algo.github.io/DS-Algo-Website/
MIT License
317 stars 476 forks source link

Coin Change #2195

Open 2000shivam659 opened 3 years ago

2000shivam659 commented 3 years ago

Aim

You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money.

Return the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the coins, return -1.

You may assume that you have an infinite number of each kind of coin.

Details

cd

Programming language

2000shivam659 commented 3 years ago

Please assign me this issue @Amit366 @Ayush7614

Rounak-chauhan commented 3 years ago

Please assign this issue to me under LGM-SoC'21 in java @ravikr126 @sameeksharl @Amit366 @Ayush7614

DurveshKumarPal commented 2 years ago

Can i do this problem in c++.