摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109336278 题目 给定一个字符串,逐个翻转字符串中的每个单词。 说明: 无空格字符构成一个 单词 。 输入字符串可以在前面或者后面包含多余的空格,但是反转后的字符不能包括。 如果两 阅读全文
posted @ 2020-10-28 16:29 消灭猕猴桃 阅读(54) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109330386 题目 链接:https://leetcode-cn.com/problems/reverse-string-ii 给定一个字符串 s 和一个整数 k,你需要对从字符串开 阅读全文
posted @ 2020-10-28 13:05 消灭猕猴桃 阅读(65) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109328163 题目 链接:https://leetcode-cn.com/problems/reverse-string 编写一个函数,其作用是将输入的字符串反转过来。输入字符串以字 阅读全文
posted @ 2020-10-28 10:50 消灭猕猴桃 阅读(80) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109327396 题目 链接:https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inord 阅读全文
posted @ 2020-10-28 10:20 消灭猕猴桃 阅读(55) 评论(0) 推荐(0) 编辑
摘要: csdn:https://blog.csdn.net/renweiyi1487/article/details/109325624 题目 链接:https://leetcode-cn.com/problems/unique-number-of-occurrences 给你一个整数数组 arr,请你帮 阅读全文
posted @ 2020-10-28 09:24 消灭猕猴桃 阅读(73) 评论(0) 推荐(0) 编辑