Ad
  • Custom User Avatar

    Oh, yeah, I thought 1 digit could only move 1 place, makes sense, my mind went completly blank. Thank you

  • Custom User Avatar

    I think tests are broken on golang, I pass all the random tests, but I fail 2 predetermined ones:

    Testing for 1234567890
    Expected
        <int>: 1234567980
    to equal
        <int>: 1234567908
    

    And

    Testing for 59884848459853
    Expected
        <int>: 59884848495853
    to equal
        <int>: 59884848483559
    

    I am maybe stupid, but that does not seem to be right answers at all, how is the 0 bigger than 8 and then in the second one 9 has to jump to the end?