2734. 执行子串操作后的字典序最小字符串
执行子串操作后的字典序最小字符串
- 难度:
medium
- 原始链接: https://leetcode.cn/problems/lexicographically-smallest-string-after-substring-operation
- 标签:
贪心
解法一: 贪心
1 | func smallestString(s string) string { |
medium
贪心
1 | func smallestString(s string) string { |