Leetcode 452 Minimum Number of Arrows to Burst Balloons
The key of solving this problem is to sort the array first in ascending order based on the end value of each element because we want to get the overlapping part of each balloon. By sorting it this way, we… Read More »Leetcode 452 Minimum Number of Arrows to Burst Balloons