in reply to Re^3: finding tuples
in thread finding tuples
You look for a maximal set of ordered four-tuples that each consist of either four identical or four completely different letters
The OP said "same or sequential alphabetic neighbours" and later said the alphabet is ADEFGMSTV. He also clarified that order isn't important.
My best guess is that the following are allowed
and the following aren't
Please confirm.
What is the exact rule of how one tuple can "destroy" a solution, if overlap is allowed anyway?
A given instance of a letter can be reused. He's talking about overlaps in the input string.
+-+-+-+----- tuple 1 matches character between indexes 0 and 6 | | | | AADDEEFF overlap over indexes 1 to 6 | | | | +-+-+-+---- tuple 2 matches character between indexes 1 and 7
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: finding tuples
by Anonymous Monk on Jun 24, 2009 at 07:58 UTC |