You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subset generation algorithm in dynamic_programming/subset_generation.py works entirely by printing all possible subsets to console, which goes against the current contribution guidelines (see #7337 for more details). Ideally the algorithm should generate some data structure containing all of the subsets instead (list, set, generator, whatever), but that would require reworking parts of the algorithm rather than simply removing the print statements.
The text was updated successfully, but these errors were encountered:
tianyizheng02
changed the title
Subset generation algorithm shouldn't work entirely by printing
Subset generation shouldn't work entirely by printing
Oct 22, 2022
Feature description
The subset generation algorithm in
dynamic_programming/subset_generation.py
works entirely by printing all possible subsets to console, which goes against the current contribution guidelines (see #7337 for more details). Ideally the algorithm should generate some data structure containing all of the subsets instead (list, set, generator, whatever), but that would require reworking parts of the algorithm rather than simply removing the print statements.The text was updated successfully, but these errors were encountered: