25.07.17 프로그래머스 - 공원 산책
문제 및 코드 프로그래머스코딩테스트 연습 > 연습문제 > 공원 산책 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr// 방향 정보const directionMap = { 'E': ['y', +1], 'W': ['y', -1], 'S': ['x', +1], 'N': ['x', -1],}function solution(park, routes) { // 시작점을 찾는 함수 const findStartPos = (p) => { const x = p.findIndex(v => v.includes('S')); const y = [...p[x]].indexOf..