@@ -19,25 +19,25 @@ to burst all balloons.
1919
2020** Example 1:**
2121
22- Input: ` points = [[10,16],[2,8],[1,6],[7,12]] `
23- Output: ` 2 `
24- Explanation: The balloons can be burst by 2 arrows:
25- - Shoot an arrow at ` x = 6 ` , bursting the balloons ` [2,8] ` and ` [1,6] ` .
26- - Shoot an arrow at ` x = 11 ` , bursting the balloons ` [10,16] ` and ` [7,12] ` .
22+ * Input: ` points = [[10,16],[2,8],[1,6],[7,12]] `
23+ * Output: ` 2 `
24+ * Explanation: The balloons can be burst by 2 arrows:
25+ - Shoot an arrow at ` x = 6 ` , bursting the balloons ` [2,8] ` and ` [1,6] ` .
26+ - Shoot an arrow at ` x = 11 ` , bursting the balloons ` [10,16] ` and ` [7,12] ` .
2727
2828** Example 2:**
2929
30- Input: ` points = [[1,2],[3,4],[5,6],[7,8]] `
31- Output: ` 4 `
32- Explanation: One arrow needs to be shot for each balloon for a total of ` 4 ` arrows.
30+ * Input: ` points = [[1,2],[3,4],[5,6],[7,8]] `
31+ * Output: ` 4 `
32+ * Explanation: One arrow needs to be shot for each balloon for a total of ` 4 ` arrows.
3333
3434** Example 3:**
3535
36- Input: ` points = [[1,2],[2,3],[3,4],[4,5]] `
37- Output: ` 2 `
38- Explanation: The balloons can be burst by 2 arrows:
39- - Shoot an arrow at ` x = 2 ` , bursting the balloons ` [1,2] ` and ` [2,3] ` .
40- - Shoot an arrow at ` x = 4 ` , bursting the balloons ` [3,4] ` and ` [4,5] ` .
36+ * Input: ` points = [[1,2],[2,3],[3,4],[4,5]] `
37+ * Output: ` 2 `
38+ * Explanation: The balloons can be burst by 2 arrows:
39+ - Shoot an arrow at ` x = 2 ` , bursting the balloons ` [1,2] ` and ` [2,3] ` .
40+ - Shoot an arrow at ` x = 4 ` , bursting the balloons ` [3,4] ` and ` [4,5] ` .
4141
4242** Constraints:**
4343
0 commit comments