전체 글 (87) 썸네일형 리스트형 [LeetCode] 435. Non-overlapping Intervals 435. Non-overlapping Intervals Given an array of intervals intervals where intervals[i] = [starti, endi], return the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping.Note that intervals which only touch at a point are non-overlapping. For example, [1, 2] and [2, 3] are non-overlapping. 1. 문제 상황주어진 구간에서 겹치는 구간을 최소화하려면 몇 개의 구간을 제거해야 하는지 묻는 문제.겹치지 않는.. [LeetCode] 739. Daily Temperatures 739. Daily Temperatures Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait after the ith day to get a warmer temperature. If there is no future day for which this is possible, keep answer[i] == 0 instead. 1. 문제 상황문제를 간단히 다시 보기 : 오늘 온도가 더 따뜻해지려면 며칠을 기다려야 하는지앞에서부터 풀면 모든 날에 대해 모든 이후 날들을 다 비교해야.. 실검에 오르는 세렝게티 동물 테스트 만들기 : 테스트 제작 보호되어 있는 글입니다. 이전 1 2 3 4 5 6 7 ··· 29 다음 목록 더보기