Ad
  • Custom User Avatar

    Not a kata issue, the order of the items of your array is wrong. You must sort the results.

    Given two arrays of strings a1 and a2 return a sorted array r in lexicographical order of the strings of a1 which are substrings of strings of a2.