Skip to content

Debayon/Coin-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Coin-Problem

Classic Dynamic Programming Problem

Given: An array of positive integers, you can choose as many elements as possible and the sum of the numbers must be maximum. Note:-You cannot pick any two consecutive elements from the array.

Input: A sequence of positive integers. Output: Maximum sum.

The Solution uses a method which is discovered by myself while experimenting.

About

Classic Dynamic Programming Problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages