forked from youngyangyang04/leetcode-master
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 5e960b4
Update 0435.无重叠区间.md
First java code not working, I test in the IntellJ with jdk 11, the Arrays.sort is not right ( doesn't make the left edge sort from small to big ), so the non overlapping area count fail. I fix it. Sort by end first, if end is same, sort by start1 parent 6afccb6 commit 5e960b4
1 file changed
+7
-7
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 | + | ||
189 | 190 |
| |
190 | 191 |
| |
191 | 192 |
| |
192 | - | ||
193 | + | ||
193 | 194 |
| |
194 | 195 |
| |
195 | - | ||
196 | + | ||
196 | 197 |
| |
197 | 198 |
| |
198 | 199 |
| |
199 | 200 |
| |
200 | - | ||
201 | + | ||
201 | 202 |
| |
202 | 203 |
| |
203 | - | ||
204 | - | ||
205 | - | ||
204 | + | ||
205 | + | ||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 | - | ||
209 | + | ||
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
|
0 commit comments