摘要:
40. Implement Queue by Two Stacks As the title described, you should only use two stacks to implement a queue's actions. The queue should support push 阅读全文
摘要:
423. Valid Parentheses Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brac 阅读全文
摘要:
35. Reverse Linked List Reverse a linked list. Reverse a linked list. Reverse a linked list. Example Example1:For linked list 1->2->3, the reversed li 阅读全文
摘要:
174. Remove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head. Given a linked list, remove t 阅读全文
摘要:
Remove Linked List Elements Remove all elements from a linked list of integers that have value val. Remove all elements from a linked list of integers 阅读全文