Jump to content
BrainDen.com - Brain Teasers
  • 0


superprismatic
 Share

Question

Interleave the three 19-long strings


MOTMMNEEITEAEOENANU
HWOCOMNTSNWOLRYDGSI
TETSOLEHRDHRDTPIDTY
[/code] so that they may overlap only at letters they have in common and together they form the shortest possible string (not necessarily an English sentence). Here is example solved problem of this type: Suppose that the three strings were
[code]
HEGOOMOASUTYPOATHII
EISPLLIHTOPRLMTHTSS
RADEXAEFOTONTOEEFBE
Each of these can be stretched out over 45 positions so that each of the 45 positions is covered by a letter from at least one of the three. Furthermore, letters at positions of overlap must agree:

HE GO O MOASUTYPO A T HII
EISPLL IH TO PRLM T HTSS
RADE XA EF OTON T OEEFB E

RADEISPLLXAIHEFGOTONPRLMOASUTYPOEEFBAHTSSHIIE
[/code]

This 45-long string, although not unique, is as

short as possible while fulfilling the requirements

of the problem.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

M O T M MN E E I T E A E O E N A N U

H WOC O MNT S N W O L R YD G SI

TE TSO L E H R D H R DT P I D T Y

HMTEWOCTSOMLMNTESEHINTWERODAHELOREYDTGPSINDATNYU

IT MESSESD IT UP A BIT BUT IF YOU COPPY AND PASTE IT IN A TXT. DOC. IT'LL EVEN OUT A BIT. :(

Link to comment
Share on other sites

  • 0

M O T M MN E E I T E A E O E N A N U

H WOC O MNT S N W O L R YD G SI

TE TSO L E H R D H R DT P I D T Y

HMTEWOCTSOMLMNTESEHINTWERODAHELOREYDTGPSINDATNYU

IT MESSESD IT UP A BIT BUT IF YOU COPPY AND PASTE IT IN A TXT. DOC. IT'LL EVEN OUT A BIT. :(

You found a 48-long string. That's pretty good, but you can do better!

Link to comment
Share on other sites

  • 0

43:

__MO_T__MMN______EE___________I_T_EAEOENANU

HW_OC__O_MNTSNWOL___RYDGS_____I____________

_____TE____TS__OLE_HR_D__HRDTPIDTY_________

HWMOCTEOMMNTSNWOLEEHRYDGSHRDTPIDTYEAEOENANU

Edited by ljb
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...