Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

Solutions of LeetCode Problems

Date Problems
11/14/2018 2 Add Two Numbers
160 Intersection of Two Linked Lists
11/15/2018 220 Contains Duplicate III

Previous

-------------------ALGORITHMS-----------------

4.9
136 Single Number
104 Maximum Depth of Binary Tree
283 Move Zeroes
238 Product of Array Except Self
94 Binary Tree Inorder Traversal

4.10
171 Excel Sheet Column Number
13 Roman to Integer  
22 Generate Parentheses    
169 Majority Element  
122 Best Time to Buy and Sell Stock II    

4.11
242 Valid Anagram
46 Permutations
47 Permutations Ⅱ   
237 Delete Node in a Linked List
217 Contains Duplicate

4.12
206 Reverse Linked List
230 Kth Smallest Element in a BST
268 Missing Number
78 Subsets
108 Convert Sorted Array to Binary Search Tree  

4.14
388 Longest Absolute File Path
346-642 Moving Average from Data Stream
271-659 Encode and Decode Strings
65 Valid Number
163-641 Missing Ranges

4.15
121 Best Time to Buy and Sell Stock
438 Find All Anagrams in a String
408-639 Valid Word Abbreviation
288-648 Unique Word Abbreviation
128 Longest Consecutive Sequence

4.16
157-null Read N Characters Given Read4
158-660 Read N Characters Given Read4 -multiple calls
277-645 Find the Celebrity
202 Happy Number
26 Remove Duplicates from Sorted Array

4.17  Tag: Hash table
1 Two Sum
219 Contains Duplicate II
205 Isomorphic Strings
290 Word Pattern
204 Count Primes

4.18  Tag: Hash table
187 Repeated DNA Sequences
274 H-Index
299 Bulls and Cows
36 Valid Sudoku
49 Group Anagrams

4.19 Tag: Array
62 Unique Paths
27 Remove Element
287 Find the Duplicate Number
216 Combination Sum III
167 Two Sum II - Input array is sorted

4.20 Devide and Conquer & DFS
374 Guess Number Higher or Lower
8 String to Integer (atoi)
538 Convert BST to Greater Tree
285-448 Inorder Successor in BST
140 word break II

4.22 DFS&BFS
17 Letter Combinations of a Phone Number
425-634 Word Squares
282 Expression Add Operators
130 Surrounded Regions
286-663 Walls and Gates

4.23
254 Factor Combinations (存疑)
191 Number of 1 Bits
53 Maximum Subarray
66 Plus One
7 Reverse Integer

4.24
172 Factorial Trailing Zeroes
14 Longest Common Prefix
69 Sqrt(x)
100 Same Tree
101 Symmetric Tree

4.26
21 Merge Two Sorted Lists
70 Climbing Stairs
118 Pascal's Triangle
38 Count and Say
141 Linked List Cycle

4.27
20 Valid Parentheses
28 Implement strStr()
88 Merge Sorted Array
125 Valid Palindrome
155 Min Stack

4.28
9 Palindrome Number
35 Search Insert Position
58 Length of Last Word
12 Integer to Roman
50 Pow(x, n)

4.29
48 Rotate Image
311 Sparse Matrix Multiplication
415 Add Strings
43 Multiply Strings
258 Add Digits

4.30
67 Add Binary
83 Remove Duplicates from Sorted List
102 Binary Tree Level Order Traversal
107 Binary Tree Level Order Traversal II
111 Minimum Depth of Binary Tree

5.1 Happy May Day!
110 Balanced Binary Tree
112 Path Sum
113 Path Sum II
257 Binary Tree Paths
226 Invert Binary Tree

5.3 DP
198 House Robber
213 House Robber II

8.13
461 Hamming Distance
535 Encode and Decode TinyURL
146 LRU Cache

-------------------DATABASE-----------------
5.5
595 Big Countries

5.6
627 Swap Salary

5.7
620 Not Boring Movies

5.8
182 Duplicate Emails

5.9
175 Combine Two Tables

5.10
181 Employees Earning More Than Their Managers

5.11
183 Customers Who Never Order

5.13
197 Rising Temperature

5.15
596 Classes More Than 5 Students

5.16-5.19
196 Delete Duplicate Emails
176 Second Highest Salary
626 Exchange Seats
178 Rank Score

About

Solutions of LeetCode Problems with Python

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages