摘要: Problem:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get ... 阅读全文
posted @ 2015-09-04 08:53 airforce 阅读(330) 评论(0) 推荐(0) 编辑
摘要: Problem:Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and opera... 阅读全文
posted @ 2015-09-04 01:49 airforce 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Problem:Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index.Ac... 阅读全文
posted @ 2015-09-04 00:53 airforce 阅读(555) 评论(0) 推荐(0) 编辑