instead of lists, construct a tower of nested generators. i think this is equivalent to a recursive backtracking solution. since the input doesn't contain 0 we can check for <goal in the intermediate layers, and ==goal at the end.
Description
No description provided
Languages
Python
66.9%
C
21.5%
Tcl
5.8%
Shell
5.6%
Makefile
0.2%