We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a3ca02 commit 5bb1e73Copy full SHA for 5bb1e73
leetcode.com 435. Non-overlapping Intervals/main.py
@@ -10,7 +10,7 @@ def eraseOverlapIntervals(self, intervals: List[List[int]]) -> int:
10
prev = 0
11
12
for idx in range(1, count_total):
13
- # prev의 end가 다음의 start 보다 작거나 같으면
+ # prev의 end가 idx의 start 보다 작거나 같으면
14
# 이 둘은 overlapped 되는 부분이 없다는 의미
15
if intervals[prev][1] <= intervals[idx][0]:
16
prev = idx
0 commit comments