Leetcode 1642. Furthest Building You Can Reach 2024-02-17 分類 Coding 貪心算法(Greedy) 搭配 優先佇列(priority queue) 法求解 Leetcode 1642. Furthest Building You Can Reach 繼續閱讀
Leetcode 647. Palindromic Substrings 2024-02-10 分類 Coding Manacher Algorithm (動態規劃法) 在O(n)時間求解 Leetcode 647. Palindromic Substrings 繼續閱讀
Leetcode 279. Perfect Squares 2024-02-08 分類 Coding Dynamical Programming / Greedy + DFS, Math 三種策略求解 Leetcode 279. Perfect Squares 繼續閱讀
Leetcode 3027. Find the Number of Ways to Place People II 2024-02-06 分類 Coding 分別用 2D Prefix Sum 與 Sorting + Greedy 求解 Leetcode 3027. Find the Number of Ways to Place People II 繼續閱讀
Leetcode 3026. Maximum Good Subarray Sum 2024-02-05 分類 Coding Prefix Sum 法求解 Leetcode 3026. Maximum Good Subarray Sum 繼續閱讀