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
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
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()
^