注:使用JDK1.5以上的版本,可以不设置CLASSPATH这个环境变量 Windows: 双击安装到某一目录 设置以下环境变量(使用环境变量便于更新) JAVA_HOME E:\software\Java\jdk1.7.0_79 PATH %JAVA_HOME%/bin;%JAVA_HOME%/j Read More
posted @ 2016-05-24 20:19 loadofleaf Views(176) Comments(0) Diggs(0) Edit
题目来源 https://leetcode.com/problems/valid-palindrome/ Given a string, determine if it is a palindrome, considering only alphanumeric characters and ign Read More
posted @ 2016-05-24 16:51 loadofleaf Views(480) Comments(0) Diggs(0) Edit
题目来源 https://leetcode.com/problems/triangle/ Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent number Read More
posted @ 2016-05-24 16:47 loadofleaf Views(801) Comments(0) Diggs(0) Edit
题目来源 https://leetcode.com/problems/pascals-triangle-ii/ Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return Read More
posted @ 2016-05-24 16:44 loadofleaf Views(510) Comments(0) Diggs(0) Edit
题目来源 https://leetcode.com/problems/pascals-triangle/ Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Re Read More
posted @ 2016-05-24 16:40 loadofleaf Views(395) Comments(0) Diggs(0) Edit
题目来源 https://leetcode.com/problems/populating-next-right-pointers-in-each-node/ Given a binary tree Populate each next pointer to point to its next ri Read More
posted @ 2016-05-24 16:37 loadofleaf Views(1068) Comments(0) Diggs(0) Edit
题目来源 https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ Given a binary tree, flatten it to a linked list in-place. 题意分析 Input: binary t Read More
posted @ 2016-05-24 16:31 loadofleaf Views(583) Comments(0) Diggs(0) Edit