16 views
# LeetCode [debug工具(了解程式流程)](https://pythontutor.com/javascript.html#mode=edit) [MarkDown語法](https://hackmd.io/@eMP9zQQ0Qt6I8Uqp2Vqy6w/SyiOheL5N/%2FBVqowKshRH246Q7UDyodFA?type=book) [**Blind 75**](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU) [謙順的HackMD9月](https://hackmd.io/Uae4Lu2lRA6ia6uB1JzHRg?both) [謙順的HackMD10月](https://hackmd.io/@2Di9gbVrTQSvJwrxGpjtwQ/ry9G3pfba/edit) [謙順的HackMD11月](https://hackmd.io/Jmx-syfVT1alHH5uMiMGdw) [1662](https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent/) [1588](https://leetcode.com/problems/sum-of-all-odd-length-subarrays/) 檢測謙順三層 ## For迴圈 [ **[Easy]** No.1](https://leetcode.com/problems/two-sum/)**(兩層)** [ **[Easy]** No.796](https://leetcode.com/problems/rotate-string/) [ **[Easy]** No.1154](https://leetcode.com/problems/day-of-the-year/) [ **[Easy]** No.1313](https://leetcode.com/problems/decompress-run-length-encoded-list/)**(兩層)** ## If [ **[Easy]** No.9](https://leetcode.com/problems/palindrome-number/description/)**(If + 一層For迴圈)** ## 筆記 [快慢指針](https://zhuanlan.zhihu.com/p/38521018) [zip()使用方法](https://www.runoob.com/python/python-func-zip.html) ## 個人進度 ### ==**[Easy]**== 2023/5/21 [No.1 TwoSum](https://codimd.mcl.math.ncu.edu.tw/CaSMKAsiRqaEePYkUBRlzw) - [x] JavaScript - [x] Python 2023/5/25 [No.13 Roman to Integer](https://codimd.mcl.math.ncu.edu.tw/mrZzk3-2TRGf08O_RhcmSA) - [x] JavaScript - [ ] Python 2023/5/25 [No.9 Palindrome Number](https://codimd.mcl.math.ncu.edu.tw/QBZVcTHjRHGbongnsl1bUw) - [x] JavaScript - [x] Python 2023/5/31 [No.14 Longest Common Prefix](https://codimd.mcl.math.ncu.edu.tw/toYCBtOaQu6yz0iNBf0huw) - [x] JavaScript - [x] Python 2023/6/1 [No.27 Remove Element](https://codimd.mcl.math.ncu.edu.tw/iHLSOJw0Qz2Tpgc2RqQuIA) - [x] JavaScript - [ ] Python 2023/6/7 [No.21 Merge Two Sorted Lists](https://codimd.mcl.math.ncu.edu.tw/W_zJD7PmROW7bCPS1lJ-AA) - [x] JavaScript - [ ] Python 2023/6/28 [No.66 Plus One](https://codimd.mcl.math.ncu.edu.tw/CWUNmNG8T0Sskc6vfq7WfQ) - [x] Python 2023/6/28 [No.67 Add Binary](https://codimd.mcl.math.ncu.edu.tw/wRJHyIzGTOmqgy5X_HYkFA) - [x] Python 2023/6/29 [No.136 Single Number](https://codimd.mcl.math.ncu.edu.tw/lM5E0RD_R7Kx44iSk_d6BQ) - [x] Python 2023/6/29 [No.70 Climbing Stairs](https://codimd.mcl.math.ncu.edu.tw/Ei3EezxtQRS8mlF3Zry87w) - [x] Python 2023/6/29 [No.118 Pascal's Triangle](https://codimd.mcl.math.ncu.edu.tw/1tbqNG6pSp26p3KiE0ooWw) - [x] Python 2023/6/29 [No.119 Pascal's Triangle II](https://codimd.mcl.math.ncu.edu.tw/K3JCqTSsRm-HEUnQMji_Sw) - [x] Python 2023/6/29 [No.205 Isomorphic Strings](https://codimd.mcl.math.ncu.edu.tw/LHWFyF0WTPiN7eT2cU-bRQ) - [x] Python 2023/6/29 [No.258 Add Digits](https://codimd.mcl.math.ncu.edu.tw/qHLA5KWeQIe95lGWnLP7ng) - [x] Python 2023/6/29 [No.263 Ugly Number](https://codimd.mcl.math.ncu.edu.tw/4gQha6wyS2uBPQ4ZiD2jPQ) - [x] Python 2023/7/1 [No.796 Rotate String](https://codimd.mcl.math.ncu.edu.tw/3uZIrMjtSVea0qMno_ha3w) - [x] Python 2023/7/1 [No.231 Power of Two](https://codimd.mcl.math.ncu.edu.tw/l_v9NJgIRyKrXApjl0rLFA) - [x] Python 2023/7/1 [No.1154 Day of the Year](https://codimd.mcl.math.ncu.edu.tw/_dodG5-eSN2lqD9d51S3_w) - [x] Python 2023/7/1 [No.434 Number of Segments in a String](https://codimd.mcl.math.ncu.edu.tw/3boH2A61QG-CbPmQpki-Vw) - [x] Python 2023/7/3 [No.58 Length of Last Word](https://codimd.mcl.math.ncu.edu.tw/avWt8qxHTWC8DAoPqxoUvA) - [x] Python 2023/7/3 [No.342 Power of Four](https://codimd.mcl.math.ncu.edu.tw/28LcDsptQr-txMvu-F9qFA) - [x] Python 2023/7/3 [No.326 Power of Three](https://codimd.mcl.math.ncu.edu.tw/PVu4rY_UToCQBSA5Yhn3bA) - [x] Python 2023/7/3 [No.414 Third Maximum Number](https://codimd.mcl.math.ncu.edu.tw/DybXqDK9T7mKpECXNHHa2A) - [x] Python 2023/7/3 [No.409 Longest Palindrome](https://codimd.mcl.math.ncu.edu.tw/caXIJoOfRNyxJRkfcauyYA) - [x] Python 2023/7/3 [No.412 Fizz Buzz](https://codimd.mcl.math.ncu.edu.tw/MRqTPH_cTwWY4ufhCuB3zQ) - [x] Python 2023/7/3 [No.392 Is Subsequence](https://codimd.mcl.math.ncu.edu.tw/rPs6tBZFSTymN333GzhaDQ) - [x] Python 2023/7/3 [No.389 Find the Difference](https://codimd.mcl.math.ncu.edu.tw/6u5Awx2qQeefq16lD_a94Q) - [x] Python 2023/7/4 [No.859 Buddy Strings](https://codimd.mcl.math.ncu.edu.tw/zkgvw-AWRDapIGREqXHnJg) - [x] Python 2023/7/4 [No.415 Add Strings](https://codimd.mcl.math.ncu.edu.tw/xaWfnb7XRXCi-xqeSqy-eg) - [x] Python 2023/7/4 [No.476 Number Complement](https://codimd.mcl.math.ncu.edu.tw/4b8Z95wDSS2jnGQqnssoDg) - [x] Python 2023/7/5 [No.598 Range Addition II](https://codimd.mcl.math.ncu.edu.tw/Oe8KL7u_RhG6A_6guJJLcA) - [x] Python 2023/7/19 [No.1281 Subtract the Product and Sum of Digits of an Integer](https://codimd.mcl.math.ncu.edu.tw/VMZjoWpKRiCHPSssnIe-RQ) - [x] Python 2023/7/19 [No.1221 Split a String in Balanced Strings](https://codimd.mcl.math.ncu.edu.tw/H2ePGR0HQ42UHfqFfu9k-w) - [x] Python 2023/7/19 [No.2652 Sum Multiples](https://codimd.mcl.math.ncu.edu.tw/YJSMm-0XR8yRx56ognm1GA) - [x] Python 2023/7/19 [No.1528 Shuffle String](https://codimd.mcl.math.ncu.edu.tw/Y8byPvIxQpyUFP7xtRualg) - [x] Python 2023/7/24 [No.492 Construct the Rectangle](https://codimd.mcl.math.ncu.edu.tw/xOHQVsm-QKmZ_u0EEuyZbw) - [x] Python 2023/7/24 [No.507 Perfect Number](https://codimd.mcl.math.ncu.edu.tw/MNB0LmFlQomQ1WcpDX6nTg) - [x] Python 2023/7/24 [No.557 Reverse Words in a String III](https://codimd.mcl.math.ncu.edu.tw/NHSy3h8PSvefXEqd7mVD3A) - [x] Python 2023/7/25 [No.728 Self Dividing Numbers](https://codimd.mcl.math.ncu.edu.tw/YpQRmDCpTKqhkptvaeyJzA) - [x] Python 2023/7/25 [No.766 Toeplitz Matrix](https://codimd.mcl.math.ncu.edu.tw/mRV9-lY6SfGnwc2UgISKAA) - [x] Python 2023/7/25 ==[No.953 Verifying an Alien Dictionary](https://codimd.mcl.math.ncu.edu.tw/6I_vfSbDRweMhZkddfZFOA)== - [x] Python 2023/7/27 [No.1684 Count the Number of Consistent Strings](https://codimd.mcl.math.ncu.edu.tw/b6S09BfQRhWjSeC-e6ApAA) - [x] Python 2023/7/27 [No.1572 Matrix Diagonal Sum](https://codimd.mcl.math.ncu.edu.tw/h9itMKCKQMid9kcT011pIg) - [x] Python 2023/7/27 [No.1732 Find the Highest Altitude](https://codimd.mcl.math.ncu.edu.tw/N1Q97C70SxiVY063ausPUQ) - [x] Python 2023/7/28 [No.1005 Maximize Sum Of Array After K Negations](https://codimd.mcl.math.ncu.edu.tw/iPZE9xpgThCJGec2Iup5Jw) - [x] Python 2023/7/28 [No.1037 Valid Boomerang](https://codimd.mcl.math.ncu.edu.tw/qC6dRkjTQZ-2UNYqSv2PgA) - [x] Python 2023/7/28 [No.1046 Last Stone Weight](https://codimd.mcl.math.ncu.edu.tw/PZ9hSuLjT2O9bA2l6kqMdA) - [x] Python 2023/7/31 [No.2778 Sum of Squares of Special Elements](https://codimd.mcl.math.ncu.edu.tw/SaOHdMbIQNKmknTnWSwIgw) - [x] Python 2023/7/31 [No.2215 Find the Difference of Two Arrays](https://codimd.mcl.math.ncu.edu.tw/V21a917lR-eDK26T6njL8w) - [x] Python 2023/8/6 [No.1313 Decompress Run-Length Encode List](https://codimd.mcl.math.ncu.edu.tw/dA_I4QrsT4e4ftF9nwvJXA) - [x] Python 2023/8/6 [No.28 Find the Index of the First Occurrence in a String](https://codimd.mcl.math.ncu.edu.tw/Fr-gKbunQH22FUQSCs3mcg) - [x] Python 2023/8/6 [No.605 Can Place Flowers](https://codimd.mcl.math.ncu.edu.tw/atEYpFQfR-uALFhdBTXRPQ) - [x] Python 2023/8/8 [No.2255 Count Prefixes of a Given String](https://codimd.mcl.math.ncu.edu.tw/0PBV8Rz6R9WOmn75OYcuCA) - [x] Python 2023/8/8 [No.1389 Create Target Array in the Given Order](https://codimd.mcl.math.ncu.edu.tw/jRjJ0UUeTtWPC9VAOHviqw) - [x] Python 2023/8/10 [No.2643 Row With Maximum Ones](https://codimd.mcl.math.ncu.edu.tw/hgAktvPvRrOXG6w-9lZ9Tg) - [x] Python 2023/8/10 [No.2798 Number of Employees Who Met the Target](https://codimd.mcl.math.ncu.edu.tw/zwN45fowSXi3RBlFwMKRHA) - [x] Python 2023/8/10 [No.2733 Neither Minimum nor Maximum](https://codimd.mcl.math.ncu.edu.tw/pyayoHzcSz-AMYsPpweDCw) - [x] Python 2023/8/11 [No.941 Valid Mountain Array](https://codimd.mcl.math.ncu.edu.tw/4au52CnXQWmu7ZhgFz1AUA) - [x] Python 2023/8/14 [No.2185 Counting Words With a Given Prefix](https://codimd.mcl.math.ncu.edu.tw/gP3ypF0XRUGtKI3O2yQv8Q) - [x] Python 2023/8/15 [No.2114 Maximum Number of Words Found in Sentences](https://codimd.mcl.math.ncu.edu.tw/IBqaNAVyQFWj_tla09N4zw) - [x] Python 2023/8/17 [No.1773 Count Items Matching a Rule](https://codimd.mcl.math.ncu.edu.tw/JugmmpvISXart7t2SSWANw) - [x] Python 2023/8/17 [No.804 Unique Morse Code Words](https://codimd.mcl.math.ncu.edu.tw/Pju82_i6TS2I5IT086zDyQ) - [x] Python 2023/8/17 [No.2678 Number of Senior Citizens](https://codimd.mcl.math.ncu.edu.tw/KW_Y6bvLTYu93GqKybjLuA) - [x] Python 2023/8/19 [No.1768 Merge Strings Alternately](https://codimd.mcl.math.ncu.edu.tw/RqY2v0kjSwOmnmOROHmq8w) <font color=#FF0000>**(Leetcode 75)**</font> - [x] Python 2023/8/19 [No.746 Min Cost Climbing Stairs](https://codimd.mcl.math.ncu.edu.tw/-XxxSZ-DTrGLLCrlvfgNmA) <font color=#FF0000>**(DP)**</font> - [x] Python 2023/8/19 [No.1137 N-th Tribonacci Number](https://codimd.mcl.math.ncu.edu.tw/2sn-q7QlSu2mKiTxKU6hfg) <font color=#FF0000>**(DP)**</font> - [x] Python 2023/8/19 [No.1646 Get Maximum in Generated Array](https://codimd.mcl.math.ncu.edu.tw/9xl8VVMiSDmqWGecl5kXwg) <font color=#FF0000>**(DP)**</font> - [x] Python 2023/8/20 [No.1431 Kids With the Greatest Number of Candies](https://codimd.mcl.math.ncu.edu.tw/lPTjFG1tQvWRDJoSoHIEVQ) <font color=#FF0000>**(Leetcode 75)**</font> - [x] Python 2023/8/20 [No.2744 Find Maximum Number of String Pairs](https://codimd.mcl.math.ncu.edu.tw/qfDaxZo6Rgmxx3B4uJAjsw) - [x] Python 2023/8/20 [No.1967 Number of Strings That Appear as Substrings in Word](https://codimd.mcl.math.ncu.edu.tw/59FOFo1qTh2_de49REh_xg) - [x] Python 2023/8/21 ==**[No.459 Repeated Substring Pattern](https://codimd.mcl.math.ncu.edu.tw/OYhep2_yTbGFVuZW336cyw)**== - [x] Python 2023/8/21 ==**[No.1071 Greatest Common Divisor of Strings](https://codimd.mcl.math.ncu.edu.tw/BCwuaiIZSbCIxtK-lBxmPg)**== <font color=#FF0000>**(Leetcode 75)**</font> - [x] Python 2023/8/21 [No.283 Move Zeroes](https://codimd.mcl.math.ncu.edu.tw/98Zq0VatQGWkw-VZWYWTxA) <font color=#FF0000>**(Leetcode 75)**</font> - [x] Python 2023/8/22 [No.168 Excel Sheet Column Title](https://codimd.mcl.math.ncu.edu.tw/iHj7HKCzTGOV4EmmItNEtw) - [x] Python 2023/8/22 [No.345 Reverse Vowels of a String](https://codimd.mcl.math.ncu.edu.tw/hYp4B672TT6L5fRTNnu4BA) <font color=#FF0000>**(Leetcode 75) (Two Pointer)**</font> - [x] Python 2023/8/23 [No.2788 Split Strings by Separator](https://codimd.mcl.math.ncu.edu.tw/akMs6ihWQtKsQgCnw3UsXQ) - [x] Python 2023/8/23 ==**[No.1832 Check if the Sentence Is Pangram](https://codimd.mcl.math.ncu.edu.tw/ned3Q1siRAuMlk674_cQ5g)**== - [x] Python 2023/8/23 [No.2325. Decode the Message](https://codimd.mcl.math.ncu.edu.tw/y3MOY217R4KFoTZ_Hdluog) - [x] Python 2023/8/31 [No.1002 Find Common Characters](https://codimd.mcl.math.ncu.edu.tw/9zfGAU3BT3i1IK4BPD1yIA) - [x] Python 2023/8/31 [No.2194 Cells in a Range on an Excel Sheet](https://codimd.mcl.math.ncu.edu.tw/WsLGMlmnThGP0zt4FHoSlA) - [x] Python 2023/9/4 [No.566 Reshape the Matrix](https://codimd.mcl.math.ncu.edu.tw/NyU6wvMxTEewHMOR1-MrcQ) - [x] Python 2023/9/17 [No.2108 Find First Palindromic String in the Array](https://codimd.mcl.math.ncu.edu.tw/CsklDoZeQnquNAzEq41bdA) <font color=#FF0000>**(Two Pointer)**</font> - [x] Python 2023/9/17 [No.724 Find Pivot Index](https://codimd.mcl.math.ncu.edu.tw/9vEklNwaQLGy9Frr6TISxA) <font color=#FF0000>**(Leetcode 75)**</font> - [x] Python 2023/9/23 [No.2395 Find Subarrays With Equal Sum](https://codimd.mcl.math.ncu.edu.tw/8I2DgcqzRya6vfAWyWx0WQ) - [x] Python 2023/9/24 [No.2614 Prime In Diagonal](https://codimd.mcl.math.ncu.edu.tw/H-_GW4V9T3meqxmwEGqK_A) - [x] Python 2023/9/24 [No.1909 Remove One Element to Make the Array Strictly Increasing](https://codimd.mcl.math.ncu.edu.tw/JHaVSgksT-mkvg6IIlxc6w) - [x] Python 2023/9/24 [No.2765 Longest Alternating Subarray](https://codimd.mcl.math.ncu.edu.tw/M2uUQR7rSEirsZYw_WSFCA) - [x] Python 2023/9/25 [No.2032 Two Out of Three](https://codimd.mcl.math.ncu.edu.tw/g1B6ZlR0QC2gAiRsTNTDAA) - [x] Python [2469](https://leetcode.com/problems/convert-the-temperature/) [2235](https://leetcode.com/problems/add-two-integers/) ### ==**[Medium]**== 2023/7/4 [No.137 Single Number II](https://codimd.mcl.math.ncu.edu.tw/9nlLbLUsQ5eluJjAUhnrJw) - [x] Python 2023/7/5 [No.1493 Longest Subarray of 1's After Deleting One Element](https://codimd.mcl.math.ncu.edu.tw/mJcvQ-FPQZCZ0Mtls1ZL8w) - [x] Python 2023/7/24 [No.2 Add Two Numbers](https://codimd.mcl.math.ncu.edu.tw/p-wacTuwQny6Tj56Lmc5mw) - [x] Python 2023/8/15 [No.86 Partition List](https://codimd.mcl.math.ncu.edu.tw/foi60W2bTXiFsfRms3jWQQ?both) <font color=#FF0000>**(Link-List)**</font> - [x] Python 2023/8/23 ==**[No.151 Reverse Words in a String](https://codimd.mcl.math.ncu.edu.tw/Smu1o6jBQsO5vTJ-fGiyqQ)**== <font color=#FF0000>**(Leetcode 75)**</font> - [x] Python 2023/8/24 ==**[No.443 String Compression](https://codimd.mcl.math.ncu.edu.tw/wyoZIKuHQbCzCnfZAeTcqA)**== <font color=#FF0000>**(Leetcode 75)**</font> - [x] Python 2023/8/25 ==**[No.11 Container With Most Water](https://codimd.mcl.math.ncu.edu.tw/wyoZIKuHQbCzCnfZAeTcqA)**== <font color=#FF0000>**(Leetcode 75) (Slide Window)**</font> - [x] Python 2023/9/9 ==**[No.377 Combination Sum IV](https://codimd.mcl.math.ncu.edu.tw/55oEyD2DT5SMIO6lH04dqw)**== <font color=#FF0000>**(DP)**</font> - [x] Python ### ==**[Hard]**==