摘要: 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 阅读全文
posted @ 2016-07-26 14:47 冰凌花花~ 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 第一次使用的是string来做,从后往前遍历输入的str 阅读全文
posted @ 2016-07-26 11:56 冰凌花花~ 阅读(172) 评论(0) 推荐(0) 编辑