Ad
  • Default User Avatar

    I agree, I was able to pass the tests without fully functional code

  • Custom User Avatar

    Isnt coding about copy paste?
    I actually thought of trying to implement it. Would have been a great regEx paractice, but then... as you say its so easy to google it.

  • Custom User Avatar

    Sorted! had to return the recursive call, a bit smarter now :D.. Cheers guys :)..

  • Default User Avatar

    That test is 10E11. I've removed it from all languages and updated description to indicate that tests will be up to 10E8.

  • Custom User Avatar

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

  • Custom User Avatar

    Well, exactly the same way how others did it with recursion! ;) Idea is to reduce the amount of identical recursive (or any other) calls and "merge" them somehow into a single one, no matter if it's done with recursion or not.

  • Custom User Avatar

    Hi, I wonder, if you send in input of a number that's 100000000000. How do you expect it to be solved via recursion ?

  • Custom User Avatar

    I belive this is a 7 kyo rank Kata, Altough I did enjoy it. thank you!

  • Custom User Avatar

    Remove this test from javascript sample tests: Test.assertEquals( validPass('1Username') , 'INVALID' ); or change the expected result to 'VALID'

  • Default User Avatar

    This is related to the "1Username" sample test mentioned in the thread just above which was active at the time I was solving the kata: that test reflected an invalid variable in either C# or JS, which led me to think the password conditions would be the same, and that the test I presented would make sense. Now that that test itself has been rendered invalid, I clearly see the difference, thanks.

  • Custom User Avatar

    Why would that input value be invalid?

    • More than 3 characters but less than 20.
    • Must contain only alphanumeric characters.
    • Must contain letters and numbers.
  • Custom User Avatar

    No, that sample test should be removed. The control function returns "VALID" with that input.

  • Custom User Avatar

    need more than one number. should be more clear in the description.

  • Custom User Avatar

    Really easy to be ranked at 6. 7 at best.

  • Custom User Avatar

    Regrading C#:
    please add the static to the starting method snice it's missing and will throw error.

  • Loading more items...