摘要: https://leetcode-cn.com/problems/reverse-vowels-of-a-string/submissions/ 先定义一个boolean型数组,令所有元音(注意大小写,aeiouAEIOU)所在的ascii码为true,其他为false,将s转成字符串型(toCha 阅读全文
posted @ 2019-08-29 21:37 星辰大海。 阅读(253) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/sum-of-square-numbers/submissions/ 注意是a<=b,不然当c=2时发生错误, 解法同167 代码: 阅读全文
posted @ 2019-08-29 20:49 星辰大海。 阅读(266) 评论(0) 推荐(0) 编辑