上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: 一.Reverse Linked List(M) Reverse Linked List II(M) Binary Tree Upside Down(E) Palindrome Linked List/** * Definition for singly-linked list. * struct ... 阅读全文
posted @ 2015-12-12 10:14 zengzy 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:29652Total Submissions:117516Difficulty:EasyGiven a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(... 阅读全文
posted @ 2015-12-12 10:11 zengzy 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:84303Total Submissions:302714Difficulty:EasyGiven a linked list, remove thenthnode from the end of list and return its head.For example... 阅读全文
posted @ 2015-12-12 09:37 zengzy 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:98729Total Submissions:261539Difficulty:MediumGiven a binary tree, return theinordertraversal of its nodes' values.For example:Given bi... 阅读全文
posted @ 2015-12-12 01:19 zengzy 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:97599Total Submissions:257736Difficulty:MediumGiven a binary tree, return thepreordertraversal of its nodes' values.For example:Given b... 阅读全文
posted @ 2015-12-12 01:14 zengzy 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:55722Total Submissions:249668Difficulty:MediumEvaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators ... 阅读全文
posted @ 2015-12-12 01:05 zengzy 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:5561Total Submissions:26048Difficulty:HardGiven a string that contains only digits0-9and a target value, return all possibilities to ad... 阅读全文
posted @ 2015-12-11 23:58 zengzy 阅读(340) 评论(0) 推荐(0) 编辑
摘要: Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to show corner cas... 阅读全文
posted @ 2015-12-11 20:02 zengzy 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Total Accepted:55559Total Submissions:331659Difficulty:MediumA message containing letters fromA-Zis being encoded to numbers using the following mappi... 阅读全文
posted @ 2015-12-11 18:09 zengzy 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 一.Basic CalculatorTotal Accepted:18480Total Submissions:94750Difficulty:MediumImplement a basic calculator to evaluate a simple expression string.The ... 阅读全文
posted @ 2015-12-10 20:19 zengzy 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
levels of contents