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.
Thank you, this comment should be added to the description
The function name "longest" implies to return the longest of s1 or s2, reinforcing the descriptions task of returning the longest string of distinct letters.
Just slightly confusing. When someone asks if you would like tea or coffee they don't expect you to say "Yes".
Do you know the meaning of "or"?
Sorry, it's not an issue.
Do you know the meaning of "or"?
"Return a new sorted string, the longest possible, containing distinct letters - each taken only once - coming from s1 or s2."
Tests are wrong (or description is wrong).
Tests expect distinct letters coming from s1 AND s2