摘要:
原题链接: "https://leetcode.com/problems/first bad version/description/" `` 实现如下: Java / Created by clearbug on 2018/4/6. / public class VersionControlSol 阅读全文
摘要:
原题链接: "https://leetcode.com/articles/palindrome permutation/" 这道题目很简单: Java / Created by clearbug on 2018/2/26. / public class Solution { public stati 阅读全文
摘要:
原题链接: "https://leetcode.com/problems/ugly number ii/description/" 《剑指Offer》上面的原题,我已经看过解答了,就不废话了: Java / Created by clearbug on 2018/2/26. / public cla 阅读全文
摘要:
这个题目在 LeetCode 上有原题,直接看下面刷的 LeetCode 吧! "http://www.cnblogs.com/optor/p/8728322.html" "http://www.cnblogs.com/optor/p/8728409.html" 阅读全文
摘要:
原题链接: "https://leetcode.com/problems/ugly number/description/" 实现如下: Java / Created by clearbug on 2018/2/26. / public class Solution { public static 阅读全文
摘要:
原题链接: "https://leetcode.com/problems/add digits/description/" 实现如下: Java / Created by clearbug on 2018/2/26. / public class Solution { public static v 阅读全文
摘要:
原题链接: "https://leetcode.com/problems/binary tree paths/description/" 直接走一波深度优先遍历: 不过这道题目我的实现还是写复杂了,提交区有的是简洁高效的代码。。。都怪自己基础不好啊!!! 阅读全文
摘要:
原题链接: "https://leetcode.com/problems/valid anagram/solution/" 实现如下: Java import java.util.Arrays; / Created by clearbug on 2018/2/26. / public class S 阅读全文
摘要:
原题链接: "https://leetcode.com/problems/delete node in a linked list/description/" 实现如下: 参考 "https://blog.csdn.net/sunao2002002/article/details/47083975" 阅读全文
摘要:
原题链接: "https://leetcode.com/problems/implement queue using stacks/description/" 实现如下: 阅读全文