diff --git a/content/leetcode/2023/7.md b/content/leetcode/2023/7.md index 426077889..f03f4dca0 100644 --- a/content/leetcode/2023/7.md +++ b/content/leetcode/2023/7.md @@ -3,6 +3,25 @@ title: "2023.7" draft: false --- +# 2023.7.19 + +```python +# +# @lc app=leetcode.cn id=2716 lang=python3 +# +# [2716] 最小化字符串长度 +# + + +# @lc code=start +class Solution: + def minimizedStringLength(self, s: str) -> int: + return len(set(s)) + + +# @lc code=end +``` + # 2023.7.18 ```python