문제https://school.programmers.co.kr/learn/courses/30/lessons/161989 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 문제 풀이 (Java)class Solution { public int solution(int n, int m, int[] section) { int answer = 0; int end = 0; for (int i = 0; i section[i]) { continue; } end = section[i] + m; answer += 1; if (end > n) { break; } } return answer;..