Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
'~' is a bit operation which inverts bits in number. Bitwise operations works with the integer part of number. So if we use '~~' (double inverting) we get our number in integer representation. In this solution its just rounding number for exclusion zeros before number ('00123' -> '123'). 'c>9' returns true when c>9, true+1 = 2. It's for balance when added.
I don't know where is the problem:
([2,1,2,3,2,3,2,3,3,3], 3)
DeleteNthTests
TestRandom
System.IndexOutOfRangeException : Array index is out of range.
at Kata.DeleteNth (System.Int32[] arr, Int32 x) [0x00000] in :0
at DeleteNthTests.TestRandom () [0x00000] in :0