@@ -126,7 +126,6 @@ Problem | Solution | Time | Space | Difficul
126126Problem | Solution | Time | Space | Difficulty | Notes
127127--------------- | --------------- | --------------- | --------------- | -------------- | -----
128128[ Add Binary] | [ add-binary.py] | _ O(n)_ | _ O(1)_ | Easy |
129- [ Anagrams] | [ anagrams.py] | _ O(n)_ | _ O(n)_ | Medium |
130129[ Compare Version Numbers] | [ compare-version-numbers.py] | _ O(n)_ | _ O(1)_ | Easy |
131130[ Count and Say] | [ count-and-say.py] | _ O(n * 2^n)_ | _ O(2^n)_ | Easy |
132131[ Implement strStr()] | [ implement-strstr.py] | _ O(n + m)_ | _ O(m)_ | Easy | ` KMP Algorithm `
@@ -144,8 +143,6 @@ Problem | Solution | Time | Space | Difficul
144143
145144[ Add Binary ] :https://oj.leetcode.com/problems/add-binary/
146145[ add-binary.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/add-binary.py
147- [ Anagrams ] :https://oj.leetcode.com/problems/anagrams/
148- [ anagrams.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/anagrams.py
149146[ Count and Say ] :https://oj.leetcode.com/problems/count-and-say/
150147[ count-and-say.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/count-and-say.py
151148[ Compare Version Numbers ] :https://oj.leetcode.com/problems/compare-version-numbers/
@@ -273,6 +270,7 @@ Problem | Solution | Time | Space | Difficul
273270Problem | Solution | Time | Space | Difficulty | Notes
274271--------------- | --------------- | --------------- | --------------- | -------------- | -----
275272[ 4 Sum] |[ 4sum.py] | _ O(n^2)_ ~ _ O(n^4)_ | _ O(n^2)_ | Medium |
273+ [ Anagrams] | [ anagrams.py] | _ O(n)_ | _ O(n)_ | Medium |
276274[ Longest Substring with At Most Two Distinct Characters] | [ longest-substring-with-at-most-two-distinct-characters.py] | _ O(n^2)_ | _ O(1)_ | Hard |
277275[ Longest Substring Without Repeating Characters] | [ longest-substring-without-repeating-characters.py] | _ O(n)_ | _ O(1)_ | Medium |
278276[ Max Points on a Line] | [ max-points-on-a-line.py] | _ O(n^2)_ | _ O(n)_ | Hard |
@@ -285,6 +283,8 @@ Problem | Solution | Time | Space | Difficul
285283
286284[ 4 Sum ] : https://oj.leetcode.com/problems/4sum/
287285[ 4sum.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/4sum.py
286+ [ Anagrams ] :https://oj.leetcode.com/problems/anagrams/
287+ [ anagrams.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/anagrams.py
288288[ Longest Substring with At Most Two Distinct Characters ] :https://oj.leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters/
289289[ longest-substring-with-at-most-two-distinct-characters.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/longest-substring-with-at-most-two-distinct-characters.py
290290[ Longest Substring Without Repeating Characters ] :https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/
0 commit comments