Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
網頁
(移至...)
首頁
密碼學
程式設計Programming
APP
計算機概論
▼
2024年1月20日 星期六
C++ python DP動態規劃與monotonic stack單調堆疊解Leetcode 907 Sum of Subarray Mini...
解Leetcode 907. Sum of Subarray Minimums,用了DP動態規劃以及Monotonic stack,可以得到線性時間解,如果直接解,那可是O(n^3)時間,有好方法當然要會用
2024年1月14日 星期日
python C++解Leetcode字串問題1657 Determine if Two Strings Are Close
python C++解Leetcode字串問題1657 Determine if Two Strings Are Close
‹
›
首頁
查看網路版