Skip to content

Commit 6b144c9

Browse files
authored
Update 3199- Maximum Number of Potholes That Can Be Fixed.md
1 parent 86dc1dd commit 6b144c9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

dsa-solutions/lc-solutions/3100-3199/3199- Maximum Number of Potholes That Can Be Fixed.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ You are given an integer array $nums$ and two integers $cost1$ and $cost2$. You
2222

2323
### Constraints
2424

25-
- 1 <= road.length <= 105
26-
- 1 <= budget <= 105 + 1
25+
- `1 <= road.length <= 105`
26+
- `1 <= budget <= 105 + 1`
2727
- oad consists only of characters '.' and 'x'
2828
---
2929

@@ -77,11 +77,7 @@ class Solution {
7777

7878
### Complexity Analysis
7979

80-
#### Time Complexity:𝑂
81-
(
82-
sort
83-
)
84-
O(sort)
80+
#### Time Complexity: $𝑂(n)$
8581

8682
#### Space Complexity: O(n)
8783

0 commit comments

Comments
 (0)