Ad
  • Custom User Avatar

    there was nothing in the kata about duplicates. I had the same problem! its not a full rotation

  • Custom User Avatar

    Is this in the instructions? I read them twice and could not find any reference to duplicated values

    Using R

  • Custom User Avatar

    For those who'll have this issue in the future: duplicates must be excluded.

  • Custom User Avatar

    Thanks for the reply. I marked it as an issue because it looked like an issue. Turns out I was reading it wrong.

  • Default User Avatar

    Which language?
    This test is the same in all languages, if there were errors somebody amongst the 2164 guys who passed the kata (see at the top of the page) would have seen them.
    When you post a question post a question, not an issue.

  • Custom User Avatar

    Failing on the following test:

    "12341234"
    ["DIeF", "IeFD", "12341234", "41234123", "34123412", "23412341"]```
    
    ```Assertion with == failed
         code:  assert Allinclusive.contain_all_rots(strng, arr) == ans
         left:  false
         right: true```
         
    Both me and my code think this should be false but the test expects true. Can someone explain to me how exactly those are all the rotations of the string "12341234"? Shouldn't they be ["12341234", "41234123", "34123412" ...]?