Ad
  • Custom User Avatar

    Thanks guko san

  • Custom User Avatar

    Your code fails with tests like this for instance.

    Test.assertEquals(scramble('a','aaaaa'),false);
    

    And because there are random tests, the number of tests your code fails is random too.

  • Custom User Avatar

    Your code is too slow and times out with large inputs. It also fails with tests like this:

    Test.assertEquals(scramble('a','aaaaa'),false);
    
  • Custom User Avatar

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