11LeetCode
22========
33
4- Up to date (2014-12-18 ), there are total ` 167 ` problems on [ LeetCode Online Judge] ( https://oj.leetcode.com/ ) .
4+ Up to date (2014-12-21 ), there are total ` 169 ` problems on [ LeetCode Online Judge] ( https://oj.leetcode.com/ ) .
55The number of problems is increasing recently.
6- Here is the classification of all ` 167 ` problems.
6+ Here is the classification of all ` 169 ` problems.
77I'll keep updating for full summary and better solutions. Stay tuned for updates.
88
99---
@@ -53,6 +53,7 @@ Problem | Solution | Time | Space | Difficul
5353[ Best Time to Buy and Sell Stock] | [ best-time-to-buy-and-sell-stock.py] | _ O(n)_ | _ O(1)_ | Medium |
5454[ First Missing Positive] | [ first-missing-positive.py] | _ O(n)_ | _ O(1)_ | Hard | Tricky
5555[ Longest Consecutive Sequence] | [ longest-consecutive-sequence.py] | _ O(n)_ | _ O(n)_ | Hard | Tricky
56+ [ Majority Element] | [ majority-element.py] | _ O(n)_ | _ O(1)_ | Easy |
5657[ Missing Ranges] | [ missing-ranges.py] | _ O(n)_ | _ O(1)_ | Medium |
5758[ Next Permutation] | [ next-permutation.py] | _ O(n)_ | _ O(1)_ | Medium | Tricky
5859[ Pascal's Triangle] | [ pascals-triangle.py] | _ O(n^2)_ | _ O(n)_ | Easy |
@@ -79,6 +80,8 @@ Problem | Solution | Time | Space | Difficul
7980[ first-missing-positive.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/first-missing-positive.py
8081[ Longest Consecutive Sequence ] :https://oj.leetcode.com/problems/longest-consecutive-sequence/
8182[ longest-consecutive-sequence.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/longest-consecutive-sequence.py
83+ [ Majority Element ] : https://oj.leetcode.com/problems/majority-element/
84+ [ majority-element.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/majority-element.py
8285[ Missing Ranges ] :https://oj.leetcode.com/problems/missing-ranges/
8386[ missing-ranges.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/missing-ranges.py
8487[ Next Permutation ] :https://oj.leetcode.com/problems/next-permutation/
@@ -298,6 +301,7 @@ Problem | Solution | Time | Space | Difficul
298301Problem | Solution | Time | Space | Difficulty | Notes
299302--------------- | --------------- | --------------- | --------------- | -------------- | -----
300303[ Divide Two Integers] | [ divide-two-integers.py] | _ O(logn)_ | _ O(1)_ | Medium |
304+ [ Excel Sheet Column Title] | [ excel-sheet-column-title.py] | _ O(logn)_ | _ O(1)_ | Easy |
301305[ Fraction to Recurring Decimal] | [ fraction-to-recurring-decimal.py] | _ O(logn)_ | _ O(1)_ | Medium |
302306[ Gray Code] | [ gray-code.py] | _ O(2^n)_ | _ O(1)_ | Medium |
303307[ Integer to Roman] | [ integer-to-roman.py] | _ O(n)_ | _ O(1)_ | Medium |
@@ -309,6 +313,8 @@ Problem | Solution | Time | Space | Difficul
309313
310314[ Divide Two Integers ] :https://oj.leetcode.com/problems/divide-two-integers/
311315[ divide-two-integers.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/divide-two-integers.py
316+ [ Excel Sheet Column Title ] :https://oj.leetcode.com/problems/excel-sheet-column-title/
317+ [ excel-sheet-column-title.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/excel-sheet-column-title.py
312318[ Fraction to Recurring Decimal ] :https://oj.leetcode.com/problems/fraction-to-recurring-decimal/
313319[ fraction-to-recurring-decimal.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/fraction-to-recurring-decimal.py
314320[ Gray Code ] :https://oj.leetcode.com/problems/gray-code/
0 commit comments