배열 원소의 길이
map 메서드를 활용하여 각 원소의 길이를 담은 배열로 데이터 변형
import Foundation func solution(_ strlist:[String]) -> [Int] { strlist.map { $0.count } }