
Java语言
文章平均质量分 78
CareerBowl
CareerBowl 职业碗
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Top 10 Algorithms for Coding Interview 面试十大算法总结
The following are top 10 algorithms related topics for coding interviews. As understanding those concepts requires much more effort, this list below only serves as an introduction. They are viewed fro转载 2014-04-26 22:39:20 · 696 阅读 · 0 评论 -
[leetCode] LRU Cache (Java)
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) – Get the value (will always be positive) of the key if原创 2014-04-26 20:52:30 · 1013 阅读 · 0 评论 -
Java 中String的HashCode计算方法
/** * Returns a hash code for this string. The hash code for a * String object is computed as * * s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1] * * usi原创 2014-05-13 21:33:11 · 7647 阅读 · 0 评论 -
[LeetCode] Longest Consecutive Sequence
描述 Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example, Given [100, 4, 200, 1, 3, 2], The longest consecutive elements sequence is [1, 2,原创 2014-05-12 21:15:11 · 383 阅读 · 0 评论 -
[LeetCode] Two Sum
描述 Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, w原创 2014-05-12 21:35:21 · 459 阅读 · 0 评论