On Monday, October 27, 2014 5:33:17 PM UTC-7, alex23 wrote:It is NP-complete, meaning that there is no easy solution. The correct answer is "Not possible".
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. -- Greg -- https://mail.python.org/mailman/listinfo/python-list