摘要:
一.Reverse Linked List(M) Reverse Linked List II(M) Binary Tree Upside Down(E) Palindrome Linked List/** * Definition for singly-linked list. * struct ... 阅读全文
摘要:
Total Accepted:29652Total Submissions:117516Difficulty:EasyGiven a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(... 阅读全文
摘要:
Total Accepted:84303Total Submissions:302714Difficulty:EasyGiven a linked list, remove thenthnode from the end of list and return its head.For example... 阅读全文
摘要:
Total Accepted:98729Total Submissions:261539Difficulty:MediumGiven a binary tree, return theinordertraversal of its nodes' values.For example:Given bi... 阅读全文
摘要:
Total Accepted:97599Total Submissions:257736Difficulty:MediumGiven a binary tree, return thepreordertraversal of its nodes' values.For example:Given b... 阅读全文
摘要:
Total Accepted:55722Total Submissions:249668Difficulty:MediumEvaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators ... 阅读全文