OpenGenus/cosmos

Add Code to Generate All Possible Subset Sums

Open

#367 opened on Oct 3, 2017

View on GitHub
 (7 comments) (0 reactions) (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

Solution would use bitmasks to generate all sums which can be obtained by picking some subset of a given array and summing up the member elements.
Language: C++

Contributor guide