会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
jasoncool1
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
22
下一页
2018年9月4日
12. Integer to Roman
摘要: list的反转Collections.sort(list, Collections.reverseOrder());
阅读全文
posted @ 2018-09-04 23:33 jasoncool1
阅读(74)
评论(0)
推荐(0)
编辑
6. ZigZag Conversion
摘要: StringBuffer类可以append reverse insert deleteCharAt setCharAt 其实直接用String的array也ok
阅读全文
posted @ 2018-09-04 10:05 jasoncool1
阅读(119)
评论(0)
推荐(0)
编辑
2. Add Two Numbers
摘要: 直接用一个carry记录进位就可以
阅读全文
posted @ 2018-09-04 09:11 jasoncool1
阅读(120)
评论(0)
推荐(0)
编辑
2018年9月3日
347. Top K Frequent Elements
摘要: https://leetcode.com/problems/top-k-frequent-elements/discuss/126241/java 先记录次数 然后按次数放进数组 然后从后往前取出
阅读全文
posted @ 2018-09-03 06:58 jasoncool1
阅读(110)
评论(0)
推荐(0)
编辑
2018年9月2日
235. Lowest Common Ancestor of a Binary Search Tree
摘要: 身体不好
阅读全文
posted @ 2018-09-02 21:41 jasoncool1
阅读(88)
评论(0)
推荐(0)
编辑
230. Kth Smallest Element in a BST
摘要: 身体不好
阅读全文
posted @ 2018-09-02 11:19 jasoncool1
阅读(85)
评论(0)
推荐(0)
编辑
98. Validate Binary Search Tree
摘要: 注意转换类型 别忘了加long
阅读全文
posted @ 2018-09-02 06:54 jasoncool1
阅读(84)
评论(0)
推荐(0)
编辑
105. Construct Binary Tree from Preorder and Inorder Traversal
摘要: 身体不好
阅读全文
posted @ 2018-09-02 05:42 jasoncool1
阅读(99)
评论(0)
推荐(0)
编辑
572. Subtree of Another Tree
摘要: 身体不好
阅读全文
posted @ 2018-09-02 04:42 jasoncool1
阅读(112)
评论(0)
推荐(0)
编辑
102. Binary Tree Level Order Traversal
摘要: 身体不好
阅读全文
posted @ 2018-09-02 03:51 jasoncool1
阅读(117)
评论(0)
推荐(0)
编辑
上一页
1
···
13
14
15
16
17
18
19
20
21
22
下一页
公告