Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
it doesn't work.
All of the preceding and succeeding letters need to match in the subsequences.
In your first example, you're matching at the 'o' in "hello" and "world", but before the 'o' in "hello" is 'l' and not 'w'.
Same for the other input. All of the preceding and succeeding letters should match, so that answer should be "abcdejdek" since you can't match the 'k' with "cdejd".