Ad
  • Custom User Avatar

    A simple kata made extremely confusing by the fact that days are numbered from 0, so the first day is n = 0. In other words 1 == 0!!!

  • Custom User Avatar

    Nice challenge - not too difficult but needs to be efficient!

    My solution 43ms in Ruby!

  • Custom User Avatar

    It seems to me that 209917 --> 29917, 1, 0 is a much more logical answer than 29917, 0, 1. By always moving a digit towards the left it removes any ambiguity about where it should be inserted. If you move a digit to the right is the destination index the position in the original number or in the number produced after removing the digit to be moved? In this case if you remove the leading 2 you're left with the number 9917 (leading zero ignored in a number) and you might therfore produce a number 92917!!

  • Custom User Avatar

    Sorry, but IMO your talking complete rubbish! No offence intended. The clarity of the instructions should not be related to the difficulty of the challenge. Authors and translators should take responsibility for ensuring that their instructions are understandable particularly when English may not be the first language of many members.