Рет қаралды 6,618
Similar problem with identical approach and a great explanation:
leetcode(.)com/problems/number-of-flowers-in-full-bloom/solutions/1976821/java-sweep-line-algorithm/
If anything in the video didn't make sense I would read ^
0:00 Problem Description
3:50 Line Sweep Algorithm
7:09 Walk through
13:31 Coding (java)