Question: You are given infinite coins of denominations 1, 3, 4. What is the minimum number of coins required to achieve a sum of 7?

Options

A : 1

B : 2

C : 3

D : 4

Click to view Correct Answer

Next

Data Structure Coin Change Problem more questions

What will be the chromatic index of the following graph?

What will be the chromatic number of the following graph?

When a mobile user is connected to the mobile service,....

Which of the following is not correctly marked in the....

Which subunit in MCM is not phosphorylated in MCM after....

How many parameters does a default constructor require?

Transfer function of the system is defined as the ratio....

When the number of poles is equal to the number....

The slope obtained in VGS vs ID was 0.002. What....

For a FET, graph is drawn by taking voltage VGS....

Data Structure Adjacency List more Online Exam Quiz

Data Structure Breadth First Search

Data Structure Bubble Sort

Data Structure Campus Interviews

Data Structure Cartesian Tree

Data Structure Circular Linked Lists

Data Structure Counting Boolean Parenthesizations

Data Structure Depth First Search

Data Structure Dice Throw Problem

Data Structure Direct Addressing Tables

Data Structure Directed Acyclic Graph