会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Tony's Log
Algorithms, Distributed System, Machine Learning
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2016年6月27日
LeetCode "Largest Divisible Subset" !
摘要: Very nice DP problem. The key fact of a mutual-divisible subset: if a new number n, is divisible with the largest number m within a mutual-divisible s
阅读全文
posted @ 2016-06-27 13:20 Tonix
阅读(346)
评论(0)
推荐(0)
LeetCode "Find Leaves of Binary Tree"
摘要: Typical DFS problem. Simply get higher height and push_back.
阅读全文
posted @ 2016-06-27 11:35 Tonix
阅读(168)
评论(0)
推荐(0)
LeetCode "Valid Perfect Square"
摘要: Typical binary search.. but take care of data overflow if you are using C++
阅读全文
posted @ 2016-06-27 11:21 Tonix
阅读(190)
评论(0)
推荐(0)