Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
網頁
(移至...)
首頁
密碼學
程式設計Programming
APP
計算機概論
▼
2025年8月20日 星期三
C++ dp動態規劃速解Leetcode 1277 Count Square Submatrices with All Ones
C++ dp動態規劃速解Leetcode 1277 Count Square Submatrices with All Ones
使用matrix當成state matrix
[codes on Leecode]
https://leetcode.com/problems/count-square-submatrices-with-all-ones/solutions/7101478/reuse-matrix-as-state-matrix-beats-100/
[DP play list]
https://www.youtube.com/watch?v=30yq3fmE6E8&list=PLYRlUBnWnd5K_XYUesV9oc6M9ONXII61T
沒有留言:
張貼留言
HTML 編輯器
‹
›
首頁
查看網路版
沒有留言:
張貼留言
HTML 編輯器