OpenGenus/cosmos

Add DP version of subset sum

Open

#723 opened on Oct 6, 2017

View on GitHub
 (2 comments) (1 reaction) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Add the dynamic programming approach of solving the subset sum problem.

The code should be added at code/dynamic_programming/subset_sum.

Contributor guide