Find the fewest arrows needed to burst all overlapping balloons.
Constraints
Example
>>> findMinArrowShots([[10,16],[2,8],[1,6],[7,12]]) 2 >>> findMinArrowShots([[1,2],[3,4],[5,6],[7,8]]) 4 >>> findMinArrowShots([[1,2],[2,3],[3,4],[4,5]]) 2 >>> findMinArrowShots([]) 0
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints