摘要:
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu... 阅读全文
摘要:
package com.sinaWeibo.interview;import java.util.Comparator;import java.util.Iterator;import java.util.TreeSet;/** * @Author: weblee * @Email: likaiwe... 阅读全文
摘要:
package com.Amazon.interview;/** * @Author: weblee * @Email: likaiweb@163.com * @Blog: http://www.cnblogs.com/lkzf/ * @Time: 2014年10月25日下午5:14:33 * *... 阅读全文
摘要:
package com.alibaba.interview;import java.util.Random;/** * @Author: weblee * @Email: likaiweb@163.com * @Blog: http://www.cnblogs.com/lkzf/ * @Time: ... 阅读全文