2020年2月24日

[LeetCode]151. 翻转字符串里的单词

摘要: 题目 输入一个英文句子,翻转句子中单词的顺序,但单词内字符的顺序不变。为简单起见,标点符号和普通字母一样处理。例如输入字符串"I am a student. ",则输出"student. a am I"。 示例 1: 输入: "the sky is blue" 输出: "blue is sky th 阅读全文

posted @ 2020-02-24 15:20 coding_gaga 阅读(198) 评论(0) 推荐(0)

导航