herrDeng網內搜尋
自訂搜尋
Ads
2026年10月29日 星期四
2026年10月28日 星期三
2026年10月23日 星期五
2026年10月22日 星期四
2026年10月21日 星期三
2026年10月17日 星期六
2026年10月15日 星期四
2026年10月14日 星期三
2026年10月8日 星期四
2026年10月7日 星期三
2026年10月6日 星期二
2026年10月2日 星期五
2026年10月1日 星期四
2026年9月23日 星期三
2026年9月14日 星期一
2026年9月9日 星期三
2026年9月4日 星期五
0ms C++ Py3 |Suffix MIN與Prefix MAX解Leetcode 3903, 3904 Smallest Stable Index
0ms C++ Py3 Suffix MIN與Prefix MAX解Leetcode 3903, 3904 Smallest Stable Index
使用一個名為 suf 的陣列來記錄字尾最小值(suffix min)。
接著進行動態Prefix MAX(字首最大值)的計算,以找出何時滿足Max-suf[i] leq k!
[Py3 code請進]
2026年9月2日 星期三
0ms C++ 1-line Py3解Leetcode 3875, 3876 Construct Uniform Parity Array
0ms C++ 1-line Py3解Leetcode 3875, 3876 Construct Uniform Parity Array
一次解Leetcode 3875, 3876,code很簡單,重點是邏輯。
Solving LeetCode 3875 & 3876 together. Simple code, focus is on the logic.
[code on Leetcode 3875]https://leetcode.com/problems/construct-uniform-parity-array-i/solutions/8496231/1beats-100-by-anwendeng-o9jh/
2026年8月28日 星期五
0ms |C++貪婪mask dp解Leetcode難題3734 Lexico min Palindrome greater then target
0ms |C++貪婪mask dp解Leetcode難題3734 Lexico min Palindrome greater then target
這部影片詳細解析了 LeetCode 3734 難題。我們將結合「貪婪演算法 (Greedy)」與「位元遮罩動態規劃 (Bitmask DP)」技術,目標是找出比給定字串大、且字典序最小的回文字串。影片中展示了如何透過剪枝與狀態壓縮將效能優化至 0ms,達成最速解。適合想挑戰高難度演算法與 C++ 實作技巧的開發者。
2026年8月25日 星期二
登1076大屯山黑柴:YOLOE又誤判了!不是雪納瑞 (Kein Schnauzer!😂)
登1076的大屯山黑柴:『我不是雪納瑞』YOLOE又誤判了
Schnauzer,除了是指雪納瑞之外,在德文又指鬍鬚
用三種YOLO 模型:
訂閱:
文章 (Atom)
熱門文章
-
計算你上學期加權平均
-
河內塔程式
-
Fibonacci sequence: a[0]=1, a[1]=1, a[2]=2, a[3]=3, a[4]=5,...... In general, a[n]=1 as n=0,1, a[n]=a[n-1]+a[n-2] as n>=2. Use this...
-
將費氏數列輸出至一long 陣列 其中f[0]=1, f[1]=2, f[n]=f[n-1]+f[n-2] (n>=2)
-
簡答題: 比較C/C++, Java, VB的差異!
-
算上學期加權平均
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
何謂演算法?並列出一無窮迴圈的範例!
-
array ex 1, 2,3,7,8