https://github.com/twtrubiks/leetcode-python
LeetCode use Python :memo:
https://github.com/twtrubiks/leetcode-python
leetcode python
Last synced: 2 months ago
JSON representation
LeetCode use Python :memo:
- Host: GitHub
- URL: https://github.com/twtrubiks/leetcode-python
- Owner: twtrubiks
- Created: 2016-03-31T01:55:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-10T06:30:27.000Z (over 3 years ago)
- Last Synced: 2025-04-15T11:55:09.777Z (2 months ago)
- Topics: leetcode, python
- Language: Python
- Homepage:
- Size: 85 KB
- Stars: 24
- Watchers: 4
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# leetcode-python
LeetCode use Python :memo:
## 說明
分享 [LeetCode](https://leetcode.com/) 上練習的題目,在這裡把解出來的題目和大家做分享並且記錄一下,
並不是全部的題目都是自己寫出來的,有些題目是上網參考別人的答案:smile:,
會持續做更新:pencil2:
## 題目
[001-Two Sum](https://github.com/twtrubiks/leetcode-python/blob/master/Two_Sum_001.py) - youtube tutorial [001 Two Sum](https://youtu.be/fo5knjhk-i0)
[007-Reverse Integer](https://github.com/twtrubiks/leetcode-python/blob/master/Reverse_Integer_007.py) - youtube tutorial [007 Reverse Integer](https://youtu.be/sPK7Lw7Ospg)
[009-Palindrome Number](https://github.com/twtrubiks/leetcode-python/blob/master/Palindrome_Number_009.py) - youtube tutorial [009 Palindrome Number](https://youtu.be/B2viRb1aJ7Q)
[013-Roman to Integer](https://github.com/twtrubiks/leetcode-python/blob/master/Roman_to_Integer_013.py) - youtube tutorial [013 Roman to Integer](https://youtu.be/es88R2AYc_0)
[014-Longest Common Prefix](https://github.com/twtrubiks/leetcode-python/blob/master/Longest_Common_Prefix_014.py) - youtube tutorial [014 Longest Common Prefix]( https://youtu.be/t-oA2U27d4w)
[020-Valid Parentheses](https://github.com/twtrubiks/leetcode-python/blob/master/Valid_Parentheses_020.py) - youtube tutorial [020 Valid Parentheses](https://youtu.be/snSaKshK-Ws)
[021-Merge Two Sorted Lists](https://github.com/twtrubiks/leetcode-python/blob/master/Merge_Two_Sorted_Lists_021.py) - youtube tutorial [待新增021 Merge Two Sorted Lists](xxx) - [explanation](https://github.com/twtrubiks/leetcode-python/blob/master/Merge_Two_Sorted_Lists_021_explanation.py)
[026-Remove Duplicates from Sorted Array](https://github.com/twtrubiks/leetcode-python/blob/master/Remove_Duplicates_from_Sorted_Array_026.py) - youtube tutorial [待新增026 Remove Duplicates from Sorted Array](xxx) - [explanation](https://github.com/twtrubiks/leetcode-python/blob/master/Remove_Duplicates_from_Sorted_Array_026_explanation.py)
[027-Remove Element](https://github.com/twtrubiks/leetcode-python/blob/master/Remove_Element_027.py) - youtube tutorial [待新增027Remove Element](xxx) - [explanation](https://github.com/twtrubiks/leetcode-python/blob/master/Remove_Element_027_explanation.py)
[028-Implement strStr()](https://github.com/twtrubiks/leetcode-python/blob/master/Implement_strStr_028.py) - youtube tutorial [待新增028Implement strStr()](xxx)
[035-Search Insert Position](https://github.com/twtrubiks/leetcode-python/blob/master/Search_Insert_Position_035.py) - youtube tutorial [待新增035Search Insert Position](xxx)
[038-Count and Say](https://github.com/twtrubiks/leetcode-python/blob/master/Count_and_Say_038.py) - youtube tutorial [待新增038Count and Say](xxx)
[053-Maximum Subarray](https://github.com/twtrubiks/leetcode-python/blob/master/Maximum_Subarray_053.py) - youtube tutorial [待新增053Maximum Subarray](xxx)
[058-Length of Last Word](https://github.com/twtrubiks/leetcode-python/blob/master/Length_of_Last_Word_058.py) - youtube tutorial [待新增058Length of Last Word](xxx)
[066-Plus One](https://github.com/twtrubiks/leetcode-python/blob/master/Plus_One_066.py) - youtube tutorial [待新增066Plus One](xxx)
[067-Add Binary](https://github.com/twtrubiks/leetcode-python/blob/master/Add_Binary_067.py) - youtube tutorial [待新增067Add Binary](xxx)
[069-Sqrt(x)](https://github.com/twtrubiks/leetcode-python/blob/master/Sqrtx_069.py) - youtube tutorial [待新增069Sqrt(x)](xxx)
[070-Climbing Stairs](https://github.com/twtrubiks/leetcode-python/blob/master/Climbing_Stairs_070.py) - youtube tutorial [待新增070Climbing Stairs](xxx)
[080-Remove Duplicates from Sorted Array II](https://github.com/twtrubiks/leetcode-python/blob/master/Remove_Duplicates_from_Sorted_Array_II_080.py) - youtube tutorial [待新增](xxx)
## 執行環境
* Python 3.6.6
## Donation
文章都是我自己研究內化後原創,如果有幫助到您,也想鼓勵我的話,歡迎請我喝一杯咖啡:laughing:

[贊助者付款](https://payment.opay.tw/Broadcaster/Donate/9E47FDEF85ABE383A0F5FC6A218606F8)
## License
MIT license