index1 [프로그래머스] 바탕화면 정리 - JS ✏️ 문제 설명 https://school.programmers.co.kr/learn/courses/30/lessons/161990?language=javascript 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr ✏️ 문제 풀이 function solution(wallpaper) { let [x1, y1, x2, y2] = [wallpaper.length, wallpaper[0].length, 0, 0]; // x1 => min i // y1 => min idx // x2 => max i // y2 => max idx wallpaper.forEach((.. 2023. 6. 24. 이전 1 다음