OpenGenus/cosmos

Add Code to Generate All Possible Subset Sums

Open

#367 aperta il 3 ott 2017

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)C++ (3724 fork)batch import
Hacktoberfestadd codenew algorithm

Metriche repository

Star
 (13.462 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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++

Guida contributor