Practice Problem

Minimum Arrows to Burst Balloons

Difficulty: Medium

Given balloons represented as horizontal intervals, find the minimum number of vertical arrows needed to burst all balloons.