Skip to content

Commit 980f928

Browse files
Update 1544-make-the-string-great.md
1 parent e1f2fa0 commit 980f928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsa-solutions/lc-solutions/1500-1599/1544-make-the-string-great.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Given a string $s$ of lower and upper case English letters.
1919
A good string is a string which doesn't have two adjacent characters $s[i]$ and $s[i + 1]$ where:
2020

2121
- $0 <= i <= s.length - 2$
22-
- $s[i]$ is a lower-case letter and $s[i + 1]$ is the same letter but in upper-case or vice-versa.
22+
- s[i] is a lower-case letter and s[i + 1] is the same letter but in upper-case or vice-versa.
2323

2424
To make the string good, you can choose two adjacent characters that make the string bad and remove them. You can keep doing this until the string becomes good.
2525

@@ -32,7 +32,7 @@ Notice that an empty string is also good.
3232
#### Example 1
3333

3434
- **Input:** s = "leEeetcode"
35-
- **Output:** $"leetcode"$
35+
- **Output:** "leetcode"
3636
- **Explanation:** In the first step, either you choose $i = 1$ or $i = 2$, both will result $"leEeetcode"$ to be reduced to $"leetcode"$.
3737

3838

0 commit comments

Comments
 (0)