Jump Game (1) 썸네일형 리스트형 LeetCode: 55번 (Jump Game) [JAVA] 문제 링크 https://leetcode.com/problems/jump-game/ Jump Game - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 전체적인 풀이 과정은 다음과 같다. 주어진 배열 nums와 동일한 길이의 boolean 배열 생성, 배열의 끝 부분은 true로 초기화 배열의 끝 -1 위치에서 반복문을 통해 (해당 위치 + 1) ~ (해당 위치 + 주어진 점프 횟수) 사이를 탐색하며 그 사이 boolean 배열에 true가 확인되면 본인의.. 이전 1 다음