LeetCode试题
lisasunli
这个作者很懒,什么都没留下…
展开
-
344. Reverse String
Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". Subscribe to see which companies asked this question java代码实现 pu原创 2016-05-03 09:42:35 · 202 阅读 · 0 评论 -
345Reverse Vowels of a String
1.题目要求: Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Given s = "hello", return "holle". Example 2: Given s = "leetcode", return "leo原创 2016-05-03 10:29:18 · 192 阅读 · 0 评论