다 하고 보면 간단한 문제였지만 인덱스를 어떻게 맞춰야 하는지, 비교는 어떤 방식으로 할지, 조건문은 어떻게 써야 깔끔할지 생각하는 것이 어려운 문제였다.class Solution { public int solution(int[] schedules, int[][] timelogs, int startday) { // 배열이 0~6으로 인덱싱되어 있지만 startday만 1~7로 되어있기 때문에 맞춰줘야함 startday--; int limit = 0;int reward = schedules.length;for(int i = 0; i = 60 ? schedules[i]+50 : schedules[i]+10;for(int j = 0; j limit) {reward--;break..