https://leetcode.com/problems/robot-return-to-origin/ 1. 2022.01.27 시도 소요시간: 11분(3분 구상, 8분 코딩), 3분 class Solution { public boolean judgeCircle(String moves) { Map map = new HashMap(); map.put('U', 100000L); map.put('D', -100000L); map.put('L', 1L); map.put('R', -1L); long ret = 0; for(int i=0; i