Update 剑指Offer05.替换空格.md

This commit is contained in:
jianghongcheng 2023-05-06 16:59:12 -05:00 committed by GitHub
parent a37ae94618
commit abcedd41a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ func replaceSpace(s string) string {
python
####因为字符串是不可变类型所以操作字符串需要将其转换为列表因此空间复杂度不可能不为O(1)
```python
class Solution:
def replaceSpace(self, s: str) -> str: