leetcode1558題解【貪心】
- 2020 年 9 月 27 日
- 筆記
leetcode1558.得到目標數組的最少函數調用次數 題目鏈接 演算法 貪心 時間複雜度O(nlogN),N為數組中最 …
Continue Readingleetcode1558.得到目標數組的最少函數調用次數 題目鏈接 演算法 貪心 時間複雜度O(nlogN),N為數組中最 …
Continue ReadingArtwork (Gym – 102346A) 題目鏈接 演算法 DFS,連通塊 時間複雜度:O(k*n + …
Continue ReadingB – Sorted Adjacent Differences(CodeForces – 133 …
Continue Reading