https://oj.leetcode.com/problems/validate-binary-search-tree/http://blog.csdn.net/linhuanmars/article/details/23810735/**
*Definitionforbinarytree
*publicclassTreeNode{
*intval;
*TreeNodeleft;
*TreeNoderight;
*TreeNode(intx){val=x;}
*}
*/
publicclassSolutio..
分类:
其他好文 时间:
2015-01-05 18:56:26
阅读次数:
137
https://oj.leetcode.com/problems/reverse-linked-list-ii/http://blog.csdn.net/linhuanmars/article/details/24613781/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
publicclassSolu..
分类:
其他好文 时间:
2015-01-05 16:50:17
阅读次数:
125
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list/http://blog.csdn.net/linhuanmars/article/details/24354291/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
pub..
分类:
其他好文 时间:
2015-01-04 19:31:37
阅读次数:
201
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/http://blog.csdn.net/linhuanmars/article/details/24389429/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
..
分类:
其他好文 时间:
2015-01-04 19:30:52
阅读次数:
150
https://oj.leetcode.com/problems/merge-two-sorted-lists/http://blog.csdn.net/linhuanmars/article/details/19712593/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
publicclassSolu..
分类:
其他好文 时间:
2015-01-04 11:34:49
阅读次数:
147
https://oj.leetcode.com/problems/convert-sorted-array-to-binary-search-tree/http://fisherlei.blogspot.com/2013/03/leetcode-convert-sorted-array-to-binary.html/**
*Definitionforbinarytree
*publicclassTreeNode{
*intval;
*TreeNodeleft;
*TreeNoderight;
*TreeNod..
分类:
其他好文 时间:
2015-01-02 16:19:16
阅读次数:
151
https://oj.leetcode.com/problems/add-two-numbers/http://fisherlei.blogspot.com/2013/01/leetcode-add-two-numbers-solution.html/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
pub..
分类:
其他好文 时间:
2015-01-02 16:16:51
阅读次数:
132
https://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/http://fisherlei.blogspot.com/2012/12/leetcode-remove-nth-node-from-end-of.html/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*nex..
分类:
其他好文 时间:
2015-01-02 16:12:53
阅读次数:
132
https://oj.leetcode.com/problems/swap-nodes-in-pairs/http://fisherlei.blogspot.com/2013/01/leetcode-swap-nodes-in-pairs.html/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
publ..
分类:
其他好文 时间:
2015-01-02 16:12:21
阅读次数:
151
https://oj.leetcode.com/problems/merge-k-sorted-lists/http://fisherlei.blogspot.com/2012/12/leetcode-merge-k-sorted-lists.html/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
pu..
分类:
其他好文 时间:
2015-01-02 16:11:43
阅读次数:
152