Skip to content

Commit

Permalink
Update 0452.用最少数量的箭引爆气球.md
Browse files Browse the repository at this point in the history
Add a missing line back
  • Loading branch information
firemaples authored Jul 26, 2022
1 parent 95e9296 commit fdfddd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions problems/0452.用最少数量的箭引爆气球.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ class Solution {
int count = 1;
//重叠气球的最小右边界
int leftmostRightBound = points[0][1];
for (int i = 1; i < points.length; i++) {
//如果下一个气球的左边界大于最小右边界
if (points[i][0] > leftmostRightBound ) {
//增加一次射击
Expand Down

0 comments on commit fdfddd8

Please sign in to comment.