0%

challenger-001_starter

Leetcode challenge plan.

  1. Solve problems with higher acceptance rate.
  2. Organize steps into articles in blog.

ok that’s all for now.

Sort Algorithm

242.valid-anagram py c cpp 計算char出現次數 66% 33%

Search Problem

771.jewels-and-stones py 字串是否存在 11% 44%
1108.defanging-an-ip-address py 取代字串 51% 61%
1689.partitioning-into-minimum-number-of-deci-binary-numbers py 基本找最大數字… 54.5% 5%

loop through array

1431.kids-with-the-greatest-number-of-candies py 遍歷array,與舊最大比較 55% 19%
1470.shuffle-the-array py 遍歷array,兩合一交叉 12% 75%
1480.running-sum-of-1-d-array py 遍歷array,累加前面 95% 68%
1512.number-of-good-pairs py 遍歷array,查找pair 6% 9%
1769.minimum-number-of-operations-to-move-all-balls-to-each-box py 遍歷array,算其他box之距離33%
5818.Longest-Common-Subsequence-Between-Sorted-Arrays 遍歷array,找最長共同 100% 100%
1528.shuffle-string 根據array重組字 22% 99%
1281.subtract-the-product-and-sum-of-digits-of-an-integer (123)-(1+2+3) py 11% 39%

2D array use

1672.richest-customer-wealth py 66% 26%

board record

1365.how-many-numbers-are-smaller-than-the-current-number py 排序、登記、map回去 90% 71%

class & member func

1476.subrectangle-queries py 10% 43%
1603.design-parking-system py 33% 22%
1828.queries-on-number-of-points-inside-a-circle py 做圖題,生活 60% 15%