986
-
[LeetCode] 986. Interval List IntersectionsLeetCode 2021. 11. 24. 12:37
https://leetcode.com/problems/interval-list-intersections/ Interval List Intersections - 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 Interval List Intersections - Medium 인터벌벡터 A와 인터벌벡터 B가 주어진다. A와 B의 인터벌들 중 겹치는 구간을 출력하는 문제다. 각각의 인덱스를 i,j로 두자. A[i]와 B[i]를 비교하여 더 높은 시작점을 l 로, 더 낮..