Leetcode question solution in python, updating
Including array, backtrack, binary search, bit manipulation, dynamic programming,graph, greedy algorithm, hashtable, heap, linked list, math, queue & stack, sort, string, tree and two pointer.
Named with question number and question name.
Cpp version: Leetcode-in-cpp
15. 3Sum
26. Remove Duplicates from Sorted Array
27. Remove Element
36. Valid Sudoku
48. Rotate Image
59. Spiral Matrix II
73. Set Matrix Zeroes
75. Sort Colors
17. Letter Combinations of a Phone Number
22. Generate Parentheses
37. Sudoku Solver
46. Permutations
52. N-Queens II
78. Subsets
7. Reverse Integer 136. Single Number
45. Jump Game II
62. Unique Paths
63. Unique Paths II
64. Minimum Path Sum
70. Climbing Stairs
72. Edit Distance
91. Decode Ways
120. Triangle
121. Best Time to Buy and Sell Stock
122. Best Time to Buy and Sell Stock II
139. Word Break
547. Number of Provinces
733. Flood Fill
997. Find the Town Judge
2.Add Two Numbers
19. Remove Nth Node From End of List
21. Merge Two Sorted Lists
83. Remove Duplicates from Sorted List
141. Linked List Cycle
29. Divide Two Integers
118. Pascal's Triangle
119. Pascal's Triangle II
3. Longest Substring Without Repeating Characters
5. Longest Palindromic Substring
8. String to Integer (atoi)
9. Palindrome Number
14. Longest Common Prefix
38. Count and Say
151. Reverse Words in a String
94. Binary Tree Inorder Traversal
96. Unique Binary Search Trees
98. Validate Binary Search Tree
101. Symmetric Tree
102. Binary Tree Level Order Traversal
104. Maximum Depth of Binary Tree
112. Path Sum
116. Populating Next Right Pointers in Each Node
144. Binary Tree Preorder Traversal
145. Binary Tree Postorder Traversal
11. Container With Most Water
42. Trapping Rain Water
88. Merge Sorted Array