摘要:
Question Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1 2 3 4, you should return the list as 2 1 4 3. Yo 阅读全文
摘要:
Question: Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1 2 3 4 5, and n = 2. Aft 阅读全文
摘要:
Question Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 阅读全文
摘要:
LeetCode Valid Parentheses Question Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is va 阅读全文
摘要:
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文