/* 自定義代碼塊樣式 */
Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
網頁
首頁
密碼學
程式設計Programming
APP
計算機概論
herrDeng網內搜尋
自訂搜尋
Ads
2024年5月18日 星期六
C++ python後序走訪解Leetcode 979 Distribute Coins in Binary Tree
C++ python後序走訪解Leetcode 979 Distribute Coins in Binary Tree
解Leetcode 979. Distribute Coins in Binary Tree。學過二元樹的一定會使用post-order走訪,重點不是coding有多容易或多困難,重點是二元樹分錢最好是從葉節點開始,孩子要孝順父母!Python code請進
--------
按我讀文 »
2024年5月12日 星期日
python C++速解MaxPooling Leetcode 2373 Largest Local Values in a Matrix
python CPP速解MaxPooling Leetcode 2373 Largest Local Values in a Matrix
算maxPooling stride=1就一般矩陣計算而已,找出子矩陣的極大,可以只使用額外空間O(1)就得解。C++解請進。
-----
按我讀文 »
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)
熱門文章
「全民資安素養自我評量」
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
C++ DP速解難題leetcode 3363 Find the Maximum Number of Fruits Collected/Py3 code inclusive
C++ DP速解難題leetcode 3363 Find the Maximum Number of Fruits Collected [Python解請進]
何謂public-key密碼系統?....
何謂public-key密碼系統? 何謂secret-key密碼系統? 各列舉五種!
二元搜尋sliding window C++ py3解Leetcode 2106難題Maximum Fruits Harvested After ...
二元搜尋sliding window cpp py3解Leetcode 2106難題Maximum Fruits Harvested After at Most K Steps [C++ solution請進]
GPG4win使用步驟
打從PGP被某企業買下,使用GPG(Gnu PG)就成了另外一種選擇。包含安裝、金鑰設定、搜尋使用者公鑰憑證、加密、解密等關鍵步驟如下:
Ex8. 費氏數列Visual C#遞迴函式實作 Fibonacci sequence
1. 何謂遞迴函數? 2. 實作費氏數列,用遞迴方法
Leetcode 342 Power of Four幾個C++一行解
Leetcode 342 Power of Four幾個C++一行解 [codes on Leetcode] https://leetcode.com/problems/power-of-four/solutions/7081839/9-ways-of-bit-manipula...
Ex5 建立三個科目的物件
建立三個科目的物件,列印輸出。
EX4 字串
輸入字串s 輸入int x 輸出 x個s
C++一行解Leetcode 326 Power of Three
C++一行解Leetcode 326 Power of Three 利用3的羃次方的因數也是3的羃次方,導出一行C++程式碼 [解答請進]