카타 7급 Shortest Word

1 Kotlin[ | ]

2 R[ | ]

find_short <- function(s){
  min(nchar(unlist(strsplit(s, " "))))
}
find_short <- function(s){
  min(unlist(lapply(unlist(strsplit(s," ")), nchar)))
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}