Ad
  • Custom User Avatar

    You are checking that all the characters in the part-string is found in the correct order in the s. That is true for both of the parts in this case:

       codecola
       code
        o  c la
    

    So, your code does exactly what it's supposed to, it just doesn't solve this case.

    Good luck! :-)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution