프로그래머스 문제
function solution(n) { var answer = Array(Math.ceil(n/2)).fill("수").map((su, idx) => idx < Math.floor(n/2) ? "수박" : su); return answer.join(""); }
const waterMelon = n => "수박".repeat(n).slice(0,n);