会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Tony's Log
Algorithms, Distributed System, Machine Learning
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2015年9月15日
LintCode "Backpack"
摘要: A simple variation to 0-1 Knapsack.class Solution {public: /** * @param m: An integer m denotes the size of a backpack * @param A: Given n it...
阅读全文
posted @ 2015-09-15 10:47 Tonix
阅读(131)
评论(0)
推荐(0)
LintCode "Median"
摘要: Partial Sort.class Solution {public: /** * @param nums: A list of integers. * @return: An integer denotes the middle number of the array. ...
阅读全文
posted @ 2015-09-15 05:24 Tonix
阅读(211)
评论(0)
推荐(0)
LeetCode "Zigzag Iterator"
摘要: Capable to k-vector input too:class ZigzagIterator { int x; int i; int max_x; vector*> l; void moveon() { int oldi= i...
阅读全文
posted @ 2015-09-15 03:55 Tonix
阅读(155)
评论(0)
推荐(0)