- 博客(31)
- 收藏
- 关注
原创 面试题1
HashMap和HashTable的区别()HashMap几乎可以等价于Hashtable,除了HashMap是非synchronized的,并可以接受null(HashMap可以接受为null的键值(key)和值(value),而Hashtable则不行)。HashMap是非synchronized,而Hashtable是synchronized,这意味着Hashtable是线程安全
2014-10-20 00:51:10
414
原创 Triangle(LeetCode)
题目:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the following triangle[ [2], [3
2014-08-01 21:17:39
407
原创 Clone Graph(LeetCode)
题目:Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled uniquely.We use # as a separat
2014-07-31 13:15:50
472
原创 Evaluate Reverse Polish Notation(LeetCode)
Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another expression.Some examples: ["2", "1", "+",
2014-07-21 15:36:00
383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人