摘要: 原题地址: https://leetcode.com/problems/reverse-vowels-of-a-string/description/ 题目: Write a function that takes a string as input and reverse only the vow 阅读全文
posted @ 2017-09-25 12:50 fengzw 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 位运算的使用 阅读全文
posted @ 2017-09-24 19:48 fengzw 阅读(1814) 评论(0) 推荐(0) 编辑
摘要: 回溯法的运用和Leetcode相应题目。 阅读全文
posted @ 2017-09-23 19:41 fengzw 阅读(899) 评论(0) 推荐(0) 编辑
摘要: 判断一个数是否是2/3/4....的幂 阅读全文
posted @ 2017-09-21 20:30 fengzw 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 寻找两个数组之间的相同部分(第二题的算法值得复习) 阅读全文
posted @ 2017-09-18 20:18 fengzw 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 原题地址: 344 Reverse String: https://leetcode.com/problems/reverse-string/description/ 541 Reverse String II: https://leetcode.com/problems/reverse-strin 阅读全文
posted @ 2017-09-15 20:47 fengzw 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 高精度加法与高精度乘法 阅读全文
posted @ 2017-09-12 20:52 fengzw 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 原题地址: https://leetcode.com/problems/palindrome-number/description/ 题目: Determine whether an integer is a palindrome. Do this without extra space. 解法: 阅读全文
posted @ 2017-09-10 21:29 fengzw 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 原题地址: https://leetcode.com/problems/remove-element/description/ 题目: Given an array and a value, remove all instances of that value in place and return 阅读全文
posted @ 2017-09-10 19:59 fengzw 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/ 题目: Given a sorted array, remove the duplicates in place such that 阅读全文
posted @ 2017-09-10 19:54 fengzw 阅读(105) 评论(0) 推荐(0) 编辑