随笔分类 -  Leetcode

摘要:原题地址: 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 阅读(192) 评论(0) 推荐(0)
摘要:位运算的使用 阅读全文
posted @ 2017-09-24 19:48 fengzw 阅读(1849) 评论(0) 推荐(0)
摘要:回溯法的运用和Leetcode相应题目。 阅读全文
posted @ 2017-09-23 19:41 fengzw 阅读(917) 评论(0) 推荐(0)
摘要:判断一个数是否是2/3/4....的幂 阅读全文
posted @ 2017-09-21 20:30 fengzw 阅读(334) 评论(0) 推荐(0)
摘要:寻找两个数组之间的相同部分(第二题的算法值得复习) 阅读全文
posted @ 2017-09-18 20:18 fengzw 阅读(173) 评论(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 阅读(177) 评论(0) 推荐(0)
摘要:高精度加法与高精度乘法 阅读全文
posted @ 2017-09-12 20:52 fengzw 阅读(230) 评论(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 阅读(146) 评论(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 阅读(122) 评论(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 阅读(120) 评论(0) 推荐(0)