直接调 API
API
class Solution { public String replaceSpace(String s) { return s.replace(" ", "%20"); } }