Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.lang    |    Natural languages, communication, etc    |    297,462 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 295,834 of 297,462    |
|    HenHanna to All    |
|    given Dict=(act, eat, sat, ...) make a l    |
|    17 Jun 24 12:01:27    |
      XPost: comp.lang.python, sci.math       From: HenHanna@devnull.tb              given (a list of 3-letter words)        Dict=(act, ATT, eat, sat, sit, cat, bat, dog, god, mat, tim, kim, ...)              The object is to make a long chain (no repeats) with 2-letter overlaps.               e.g. -- [cat, ate, tea, eat, ATT, ...]                            What's a good approach (in Python)?                      in Mathematica, it's easy to find THE Longest chain?               is this a typical NP-complete problem?              ________________              -- Martha has aspirin in industrial allotments.              -- Two women enter erotic icehouse, seduce celibate teacher.              -- Rush showed editorial alarmism, smeared educational alliance ceaselessly.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca