什麼是ECDSA?
Herr Deng桑的教學blog
這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
herrDeng網內搜尋

自訂搜尋
Ads
3009年5月25日 星期四
2025年7月16日 星期三
Py3 C++奇偶交錯奇偶子數列解Leecode 3201 Find the Maximum Length of Valid Subsequ...
Py3 C++奇偶交錯奇偶子數列解Leecode 3201 Find the Maximum Length of Valid Subsequence I
求最長有效子序列,使得 (sub[0] + sub[1]) % 2 == (sub[1] + sub[2]) % 2 == ... == (sub[x - 2] + sub[x - 1]) % 2,有 3 種可能的情況
-全為偶數
-全為奇數
-或奇偶交錯子序列
[Py3解請進]
2025年7月15日 星期二
Py3 C++母音 vowel mask速解Leetcode 3136 Valid Word
Py3 C++母音 vowel mask速解Leetcode 3136 Valid Word
Leetcode有許多判斷母音的問題,採用bitmask方式,迅速又方便
-----
Leetcode has many problems in determining vowels. Using the bitmask method is fast and convenient.
2025年7月6日 星期日
C++ Py3 hashmap與binary search解Leetcode 1865 Finding Pairs With a Certain...
C++ Py3 hashmap與binary search解Leetcode 1865 Finding Pairs With a Certain Sum
基本上用 hashmap。解釋為什麼要使用排序和二元搜尋找來優化程式碼
-----
Basically use hashmap. Explain why one should use sorting and binary search to optimize the code.
2025年7月4日 星期五
Py3 C++位元計算bitset速解Leetcode難題3307 Find the K th Character in String Gam...
Py3 C++位元計算bitset速解Leetcode難題3307 Find the K th Character in String Game II
[Py3 一行解請進]
2025年6月28日 星期六
Py3排序 C++nth_element速解Leetcode 2099 Find Subsequence of Length K With t...
Py3排序 C++nth_element速解Leetcode 2099 Find Subsequence of Length K With the Largest Sum
C++的nth_element很好用,基本上是做partition,在這個問題可取代sort
----
C++'s nth_element is very useful. It basically does partitioning and can replace sort in this problem.
2025年6月19日 星期四
Py3 C++計數排序counting sort解Leetcode 2294 Partition Array Such That Maximu...
Py3 C++計數排序counting sort解Leetcode 2294 Partition Array Such That Maximum Difference Is K
基本上使用Greedy sort,而排序就用counting sort
[Python C++計數排序與一行解Leetcode 1051 Height Checker]https://www.youtube.com/watch?v=dybiq3pg-Os
[ Leetcode play list]https://www.youtube.com/playlist?list=PLYRlUBnWnd5IdDHk2BjqXwesydU17z_xk
2025年6月3日 星期二
Py3 C++ DFS解Leetcode難題1298 Maximum Candies You Can Get from Boxes
Py3 C++ DFS解Leetcode難題1298 Maximum Candies You Can Get from Boxes
2025年6月1日 星期日
C++Py3重複組合排容原理解Leetcode2929 Distribute Candies Among Children II
C++Py3重複組合排容原理解Leetcode2929 Distribute Candies Among Children II
Use combinatorial number with repetition & Inclusion-Exclusion Prinple to solve
[Py3解請進]
訂閱:
文章 (Atom)
熱門文章
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
Py3排序 C++nth_element速解Leetcode 2099 Find Subsequence of Length K With the Largest Sum C++的nth_element很好用,基本上是做partition,在這個問題可取代sort ---- C...
-
Py3 C++位元計算bitset速解Leetcode難題3307 Find the K th Character in String Game II [Py3 一行解請進]
-
C++ Py3 hashmap與binary search解Leetcode 1865 Finding Pairs With a Certain Sum 基本上用 hashmap。解釋為什麼要使用排序和二元搜尋找來優化程式碼 ----- Basically use hashmap...
-
Py3 C++計數排序counting sort解Leetcode 2294 Partition Array Such That Maximum Difference Is K 基本上使用Greedy sort,而排序就用counting sort [Python C++計數排...