2710. 移除字符串中的尾随零
最长特殊序列 II
- 难度:
easy - 原始链接: https://leetcode.cn/problems/remove-trailing-zeros-from-a-string
- 标签:
模拟
解法一: 模拟
1 | func removeTrailingZeros(num string) string { |
easy模拟1 | func removeTrailingZeros(num string) string { |
Update your browser to view this website correctly.&npsb;Update my browser now