摘要:
1.题目描述 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1-... 阅读全文
摘要:
1.题目描述 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 2.解法分析 ... 阅读全文
摘要:
1.问题描述 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. ... 阅读全文
摘要:
1.题目描述 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which g... 阅读全文
摘要:
1.题目描述 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the... 阅读全文
摘要:
1.题目分析 Given a linked list, remove the nth node from the end of list and return its head. For example, ... 阅读全文