Ad
  • Custom User Avatar

    The instructions are as follows.
    "Take 2 strings s1 and s2 including only letters from a to z. Return a new sorted string, the longest possible, containing distinct letters - each taken only once - coming from s1 or s2."

    A non-latin alphabet isn't specified in the instructions and wouldn't be included in this use case.