Anyone know the solution

Anton anton.schattenfeld at gmail.com
Wed Oct 29 20:09:41 EDT 2014


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?



More information about the Python-list mailing list