努橙刷题编

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年8月2日

摘要: https://leetcode.com/problems/implement-trie-prefix-tree/#/description Implement a trie with insert, search, and startsWith methods. Note:You may assu 阅读全文
posted @ 2017-08-02 00:35 努橙 阅读(133) 评论(0) 推荐(0) 编辑

2017年7月18日

摘要: /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ public class Solution { ... 阅读全文
posted @ 2017-07-18 00:37 努橙 阅读(117) 评论(0) 推荐(0) 编辑

2017年7月1日

摘要: public class Solution { public int smallestFactorization(int a) { if (a factor = new ArrayList(); for (int i = 9; i > 1; i--) { while (a % i == 0) { f... 阅读全文
posted @ 2017-07-01 00:38 努橙 阅读(336) 评论(0) 推荐(0) 编辑

2017年6月27日

摘要: https://leetcode.com/problems/maximum-distance-in-arrays/ 阅读全文
posted @ 2017-06-27 00:31 努橙 阅读(161) 评论(0) 推荐(0) 编辑

2017年6月13日

摘要: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/ 类似于 binary search 阅读全文
posted @ 2017-06-13 14:34 努橙 阅读(135) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/insertion-sort-list/ 思路:从旧链表中取出来,插入新链表中。 阅读全文
posted @ 2017-06-13 14:27 努橙 阅读(86) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/sort-list/ 阅读全文
posted @ 2017-06-13 14:03 努橙 阅读(89) 评论(0) 推荐(0) 编辑

2017年6月11日

摘要: https://leetcode.com/problems/trapping-rain-water-ii/ 参考:http://www.cnblogs.com/grandyang/p/5928987.html 阅读全文
posted @ 2017-06-11 14:59 努橙 阅读(134) 评论(0) 推荐(0) 编辑

2017年6月6日

摘要: https://leetcode.com/problems/find-duplicate-file-in-system/ 阅读全文
posted @ 2017-06-06 14:35 努橙 阅读(245) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/minimum-index-sum-of-two-lists/ 阅读全文
posted @ 2017-06-06 00:07 努橙 阅读(129) 评论(0) 推荐(0) 编辑