Ad
  • Default User Avatar

    There are no errors in the tests. Furthermore don't take the habit to post "issues" unless you are sure of your code: they are for problems in the kata not for problems in your code; you make the author loss honor... Moreover I don't think that the return value ist null, maybe -1. Good luck!

  • Default User Avatar

    The description says:

    return a sorted array r in lexicographical order of the strings of a1 which are substrings of strings of a2

    In $this->revTest(inArray($a1, $a2), ["arp", "live", "strong"]); r is in lexical order, no?