3 ms·
There are actually 686 solutions. The problem is you're exiting the solve function before showing the ones that include the last price. Swapping the order of
by mkl 5y ago
There are actually 686 solutions. The problem is you're exiting the solve function before showing the ones that include the last price. Swapping the order of the two if statements fixes it.
- marcodiego 5y agoThanks!