Skip to content

Commit 40d4c0c

Browse files
Updated 3035-Maximum-Palindromes-After-Operations.md
1 parent 6c5bb24 commit 40d4c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsa-solutions/lc-solutions/3000-3099/3035-Maximum-Palindromes-After-Operations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sidebar_position: 3035
2222

2323
- You are allowed to perform the following operation any number of times (including zero):
2424

25-
- Choose integers i, j, x, and y such that 0 <= i, j < n, 0 <= x < words[i].length, 0 <= y < words[j].length, and swap the characters words[i][x] and words[j][y].
25+
- Choose integers i, j, x, and y such that `0 <= i`, `j < n`, `0 <= x < words[i].length`, `0 <= y < words[j].length`, and swap the characters words[i][x] and words[j][y].
2626

2727
- Return an integer denoting the maximum number of palindromes words can contain, after performing some operations.
2828

@@ -148,4 +148,4 @@ class Solution {
148148
### Conclusion
149149
The solutions use a greedy approach to determine the maximum number of palindromes that can be
150150
formed by leveraging a frequency map to count character occurrences. This ensures an efficient and
151-
straightforward way to solve the problem across different programming languages.
151+
straightforward way to solve the problem across different programming languages.

0 commit comments

Comments
 (0)