Ad
  • Custom User Avatar

    Probably it takes too much time (Stackoverflowerror) to reach a solution. Because in the random tests you can obtain a string of more than 5 letters inside the input (a lot of permutations to check).