Can you be more explicit about the logic? If you input is a = 'ABCDEF' and b = 'GHIDEF', what would you expect the output to be? (i.e. what exactly is meant by "overlap"?)
Hello! Imagine that strings a, b and c are substrings and obbey that exact and specific order. By overlap I meant intersection, characters in common in a unique sense. For example, a and b overlap by "DEF", b and c overlap by "FGHI", and, if we sobrepose them, they form 'ABCDEFGHIJK'. Your example will result in none output (a = 'ABCDEF' and b = 'GHIDEF'), because they don't overlap. I want to combine them from left to right.
a = 'ABCDEF'andb = 'GHIDEF', what would you expect the output to be? (i.e. what exactly is meant by "overlap"?)