Ad
  • Custom User Avatar
  • Custom User Avatar

    I am getting this error
    For n = 38458215: 84582153 should equal 85821534
    For n = 195881031: 958810311 should equal 988103115

    for first 2 test cases
    that next two test cases are passed my logic was to store each rotation in the rotations list to keep track of all the numbers generated.