Anyone know the solution
alex23
wuwei23 at gmail.com
Mon Oct 27 20:33:05 EDT 2014
More information about the Python-list mailing list
Mon Oct 27 20:33:05 EDT 2014
- Previous message (by thread): Anyone know the solution
- Next message (by thread): Anyone know the solution
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 28/10/2014 1:10 AM, emmanueloje at gmail.com wrote: > Write a program that reads the contents of the two files into two separate lists. The user should be able to enter a boy's name, a girl's name or both, and the application will display messages indicating whether the names were among the most popular. This is actually a trick question. This is a classic unsolvable problem in computer science, known as the Dual Baskets problem. It is NP-complete, meaning that there is no easy solution. It requires brute-forcing and can take an indefinite period of time to complete, if at all. The correct answer is "Not possible".
- Previous message (by thread): Anyone know the solution
- Next message (by thread): Anyone know the solution
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list