Draft

Permute number to the minimum value.

Description
Loading description...
Sorting
Fundamentals
  • Please sign in or sign up to leave a comment.
  • B1ts Avatar

    The kata is missing random tests.

  • B1ts Avatar

    It's not mentioned that there cannot be leading zeros.

    • Cloud Walker Avatar

      In the example you will see that the included zero is not placed into a leading position.

    • B1ts Avatar

      Yes, but I shouldn't have to take a look at sample tests to see what's expected. From description I can arrange 100 to become 1 (leading zeros cancel out), but that's not what the tests expect :P

    • Cloud Walker Avatar

      Okay. Makes sense. ill fix and republish.

    • B1ts Avatar

      It's always a good idea to provide a few examples in the description.

    • Cloud Walker Avatar

      Agree. My first created kata. Had many examples in description at one point but then removed them for whatever reason. Need some sleep. Tomorrow afternoon Ill add a few examples to the description. Any other advice will be appreciated.