Hi,
we have a bunch of strings comprising of characters "A","B"..."Z" (and no others). A typical string looks like <CODE>ABZYC</CODE>. The strings are given in pairs like <CODE>ABC</CODE>, <CODE>ABDC</CODE>.
The strings are match if one string is contained in the other (i.e either one of the...