Hacker News new | ask | show | jobs
by wikke 4771 days ago
In laymans terms:

If you have 0 and 1 as inputs you have to try all possible combinations to get all possible results and choose an optimal one.

If you have all possible combinations of 0 and 1 at once you can just use the optimal solution in one step.