My resolutions for leetcode problems
个人博客主页:https://blog.csdn.net/Bob__yuan
- 1. Two Sum
- 7. Reverse Integer
- 9. Palindrome Number
- 198. House Robber【DP】
- 206. Reverse Linked List【单链表翻转】
- 234. Palindrome Linked List【判断回文单链表】
- 299. Bulls and Cows
- 766. Toeplitz Matrix
- 2. Add Two Numbers【链表正向相加】
- 3. Longest Substring Without Repeating Characters
- 5. Longest Palindromic Substring
- 6. ZigZag Conversion
- 11. Container With Most Water
- 33. Search in Rotated Sorted Array【旋转数组中查找,无重复】
- 62. Unique Paths【DP】
- 63. Unique Paths II【DP】
- 64. Minimum Path Sum【DP】
- 81. Search in Rotated Sorted Array II【旋转数组中查找,有重复】
- 91. Decode Ways【DP】
- 139. Word Break【DP】
- 148. Sort List【Merge Sort】
- 153. Find Minimum in Rotated Sorted Array【旋转数组最小值,无重复】
- 154. Find Minimum in Rotated Sorted Array II【旋转数组最小值,有重复】
- 166. Fraction to Recurring Decimal
- 213. House Robber II【DP】
- 236. Lowest Common Ancestor of a Binary Tree【DFS】
- 337. House Robber III【DFS】
- 468. Validate IP Address
- 554. Brick Wall
- 881. Boats to Save People
- 958. Check Completeness of a Binary Tree【判断完全二叉树】
- 1049. Last Stone Weight II【DP】
- 1155. Number of Dice Rolls With Target Sum【DP】
- 1186. Maximum Subarray Sum with One Deletion【DP】
- 1190. Reverse Substrings Between Each Pair of Parentheses【stack】
- 1191. K-Concatenation Maximum Sum
- 1208. Get Equal Substrings Within Budget
- 1218. Longest Arithmetic Subsequence of Given Difference
- 1219. Path with Maximum Gold【DFS】
- 1222. Queens That Can Attack the King
- 1227. Airplane Seat Assignment Probability【概率题】