Hm. A mathemeatically correct degenerate case I suppose, but given that the list can contain negative numbers, which makes a zero target a legitimate non-degenerate possibility, I can't see a useful case for returning an empty list and calling it success.
In reply to Re^5: Recursion problem
by BrowserUk
in thread Recursion problem
by someone202
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |