摘要:
or this question, the key part is: what is the state of the game? Intuitively, to uniquely determine the result of any state, we need to know: A secon 阅读全文
posted @ 2017-12-02 01:49
apanda009
阅读(268)
评论(0)
推荐(0)
摘要:
public class RetainBestCache { private Map cache;. 鍥磋鎴戜滑@1point 3 acres private Map> rankingOfObject;.鏈枃鍘熷垱鑷�1point3acres璁哄潧 private DataSource dataSource; private int maxSiz... 阅读全文
posted @ 2017-12-02 00:14
apanda009
阅读(6292)
评论(0)
推荐(0)
摘要:
基本思路就是递归的把k sum化成k-1 sum,直到变成trivial的2sum来做。 可以用两个hashset 存元素,sum ,这样就是store O(n), get(O(1)) 阅读全文
posted @ 2017-12-02 00:09
apanda009
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号