You are viewing a single comment's thread. Return to all comments →
This should have worked for Kotlin, since it is the same solution showed for other languages in the Editorial, but it insist to fail on the 6th test.
fun bigSorting(unsorted: Array<String>): Array<String> { unsorted.sortWith(compareBy({it.length}, { it })) return unsorted }
Seems like cookies are disabled on this browser, please enable them to open this website
Big Sorting
You are viewing a single comment's thread. Return to all comments →
This should have worked for Kotlin, since it is the same solution showed for other languages in the Editorial, but it insist to fail on the 6th test.