logo
← 返回面试题库

反转一句话中单词的顺序(words order),例如 "a b c" → "c b a"。

中等algorithmsstringstwo-pointers

想查看完整答案?

登录匠人学院学习中心,获取 STAR 格式回答和详细技术解析

前往学习中心查看答案