class Solution { fun solution(strlist: Array<String>): IntArray { return strlist.map{it.length}.toIntArray() } }