On Tuesday, October 28, 2014 10:13:14 PM UTC-7, Gregory Ewing wrote: > No, that's not the correct answer. Being NP-complete doesn't > mean something is impossible, or even hard to do. All it > means is that nobody knows of a cleverer solution than > just trying all possibilities. That's only a difficulty if > the problem is large enough; often it won't be.
Why do you need to iterate over all possibilities solving this problem anyway? -- https://mail.python.org/mailman/listinfo/python-list