Skip to content

Latest commit

 

History

History
148 lines (75 loc) · 3.7 KB

README.md

File metadata and controls

148 lines (75 loc) · 3.7 KB

leetcode

leetcode 题解

目录

1. Two Sum

2. Add Two Numbers

3. Longest Substring Without Repeating Characters

4. Median of Two Sorted Arrays

5. Longest Palindromic Substring

7. Reverse Integer

8. String to Integer (atoi)

9. Palindrome Number

14. Longest Common Prefix

19. Remove Nth Node From End of List

20. Valid Parentheses

21. Merge Two Sorted Lists

26. Remove Duplicates from Sorted Array

29. Divide Two Integers

31. Next Permutation

35. Search Insert Position

36. Valid Sudoku

44. Wildcard Matching

49. Group Anagrams

50. Pow(x, n)

56. Merge Intervals

58. Length of Last Word

70. Climbing Stairs

73. Set Matrix Zeroes

79. Word Search

88. Merge Sorted Array

89. Gray Code

92. Reverse Linked List II

96. Unique Binary Search Trees

98. Validate Binary Search Tree

100. Same Tree

104. Maximum Depth of Binary Tree

109. Convert Sorted List to Binary Search Tree

110. Balanced Binary Tree

116. Populating Next Right Pointers in Each Node

119. Pascal's Triangle II

121. Best Time to Buy and Sell Stock

125. Valid Palindrome

127. Word Ladder

136. Single Number

144. Binary Tree Preorder Traversal

166. Fraction to Recurring Decimal

168. Excel Sheet Column Title

169. Majority Element

171. Majority Element

202. Happy Number

217. Contains Duplicate

219. Contains Duplicate II

226. Invert Binary Tree

227. Basic Calculator II

228. Summary Ranges

231. Power of Two

235. Lowest Common Ancestor of a Binary Search Tree

237. Delete Node in a Linked List

238. Product of Array Except Self

242. Valid Anagram

258. Add Digits

263. Ugly Number

268. Missing Number

279. Perfect Squares

283. Move Zeroes

292. Nim Game

295. Find Median from Data Stream

303. Range Sum Query - Immutable

326. Power of Three

330. Patching Array

334. Increasing Triplet Subsequence

342. Power of Four

344. Reverse String

383. Ransom Note

416. Partition Equal Subset Sum

453. Minimum Moves to Equal Array Elements