42. Trapping Rain Water 接雨水问题Given n non-negative integers representing an elevation ma...

42. Trapping Rain Water 接雨水问题Given n non-negative integers representing an elevation ma...
41. First Missing Positive 缺失的第一个正数 Given an unsorted integer array nums, return the sm...
39. Combination Sum Given an array of distinct integers candidates and a target integer...
35. Search Insert Position Given a sorted array of distinct integers and a target value...
34. Find First and Last Position of Element in Sorted Array Given an array of integers ...
33. Search in Rotated Sorted Array 寻找旋转排序数组 There is an integer array nums sorted in as...
32. Longest Valid Parentheses 最长合适的配对括号 Given a string containing just the characters '...
31. Next Permutation 下一排列 A permutation of an array of integers is an arrangement of it...
25. Reverse Nodes in k-Group Given the head of a linked list, reverse the nodes of the ...
24. Swap Nodes in Pairs 交换链表中的节点 Given a linked list, swap every two adjacent nodes and...
Merge k Sorted Lists 合并k个有序列表 You are given an array of k linked-lists lists, each link...
22. Generate Parentheses 生成括号 Given n pairs of parentheses, write a function to generat...
21. Merge Two Sorted Lists You are given the heads of two sorted linked lists list1 and...
20. Valid Parentheses Given a string s containing just the characters '(', ')', '{', '}...
19.Remove Nth Node From End of List Given the head of a linked list, remove the nth nod...
17.Letter Combinations of a Phone Number Given a string containing digits from 2-9 incl...
15.3Sum Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]...
11.Container With Most Water 水最多的容器问题 You are given an integer array height of length n...
10. Regular Expression Matching 正则表达式的匹配 Given an input string s and a pattern p, imple...
5. Longest Palindromic Substring Given a string s, return the longest palindromic subst...