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

3 members in a pf.how we read 3 members without using ovrdbf.using rg pgms....

0 Answers   CTS,


hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry

0 Answers   HCL,


suppose we have ten members of a physical file but we want the output of last 5 members only.how to achieve that?

0 Answers   Bank Of America,


what is the difference between Windows application and Unix application?

0 Answers   Satyam,


Explain polymorphism. Provide an example.

0 Answers   Amazon,






Tag for turning an image into a hyperlink is

0 Answers  


where is available in this mantis toturials?

0 Answers  


cgi stands for

2 Answers   CGI,


6.int x=10; float y=20; a=x%2=? b=y%2=?

1 Answers  


what is the abap/4

1 Answers  


There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows ?No Department?. Write a query to find out those department names which has no employee. Write a query to find out those employees whose salary is greater than their department?s average salary.

1 Answers   Oracle,


what is the difference between an OS(operating system) and Framework?

0 Answers  


Categories