Ad
  • Default User Avatar

    You are thinking of the value that is generated for that input, but that position may be used by the number generated by a later member of the sequence.

    Bear in mind that 1) the array has to be in order and 2) there are no repeating positions.

  • Default User Avatar

    I had the same issue for a bit. You didnt calculate far enough down the list. 57 should be there.

  • Default User Avatar

    Language JS ?
    Sorry there are no errors in the tests.

  • Custom User Avatar

    when u(x) = 9

    y = 2x9+1 = 19

    z = 3x9+1 = 28

    but in test cases z = 27

    same goes when u(x) = 19

    'z' should be 58 instead test cases fails saying it should be equal to 57

  • Custom User Avatar

    it's for the coders

  • Default User Avatar

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

  • Custom User Avatar
    • Valid password will only be ALPHANUMERIC characters

    Just make sure your password don't have space or semicolon or some other special characters.

  • Default User Avatar

    If you're not sure what's not working for you, please post as a question instead. An issue is for when there's a clear problem with the kata. Also, please mention your language. Take note that almost 37K solvers have completed it in JavaScript. Here's some documentation on Troubleshooting-your-solution. If you wish, you may post your code with proper markdown and remember to use a spoiler tag. Then someone may be able to help you.

  • Custom User Avatar

    Unhandled rejection TestError: characters may not be adjacent - Expected: 2, instead got: 3

    eveything passed but it's giving me error on this example which i don't even know what it is.
    i tried to remove spaces with text=text.split(" ").join(""); but it's still giving me an error.
    Any suggestions ?