Sword 05

https://leetcode-cn.com/problems/ti-huan-kong-ge-lcof/

既然要写就写就地

由空格数我们可以确定最后 s 的长度

如果从前到后覆盖会修改原数据,故从后到前

原文地址:https://www.cnblogs.com/FriskyPuppy/p/14469806.html