https://programmers.co.kr/learn/courses/30/lessons/49994 코딩테스트 연습 - 방문 길이 programmers.co.kr using System; public class Solution { public int solution(string dirs) { int answer = 0; int[,,,] _check = new int[11, 11, 11, 11]; int _x = 5, _y = 5; for (int i = -1; ++i < dirs.Length;) { int oldX = _x, oldY = _y; char direction = dirs[i]; if (direction == 'U') ++_y; if (direction == 'D') --_y; if (dir..