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.
my bad, forgot to add a space after the commas
As you could have seen in "Sample Tests" the test is:
Your code is wrong somewhere.
expected:<[[1, 1],[$[42, 2500],$][246, 84100]]> but was:<[[1, 1],[[42, 2500],][246, 84100]]>
why is there a white space in the second item. the space is occuring in the position of "$" symbol
as you can see here this requires at least Kotlin
1.5
, but this Kata is only available in Kotlin1.3
IN KOTLIN
error occurs when converting char to int using "Char.digitToInt()"
Error
src/main/kotlin/solution.kt:5:29: error: unresolved reference: digitToInt
val list = num.map { it.digitToInt() }.toMutableList()
^