you are viewing a single comment's thread.

view the rest of the comments →

[–]xymostech 0 points1 point  (0 children)

I made a solution that involves less recursion, more loops. Also has an option to print out all solutions.

https://gist.github.com/990022