You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

Which design patterns have you used?

0 Answers  


Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?

0 Answers  


why we use new keyword for object

4 Answers   TCS,


preorder of A*(B+C)/D-G

6 Answers   BFL,


How can successful and thorough systems planning, analysis, and design be ruined by poor systems construction and implementation? How can poor systems analysis or design ruin a smooth construction and implementation? For both questions, list some consequences

1 Answers  


what are all the validation we need to perform in data stage?

0 Answers  


what is class module in vb6? what it's use? with example..

0 Answers  


how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?

0 Answers  


why you have to became a software developer?

2 Answers  


Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.

0 Answers   Goldman Sachs,


What is meant by QUEUE?

4 Answers   Mascot,


What is WEB 3.0? What are the features their in WEB3.0

0 Answers  


Categories