文章
11
標籤
11
分類
6
首頁
工具
文章
標籤
分類
其他
Music
Comic
Secret
About
Secret Information
搜尋
首頁
工具
文章
標籤
分類
其他
Music
Comic
Secret
About
Secret Information
發表於
2024-11-06
|
更新於
2024-12-06
|
secret
|
瀏覽量:
first
莫忘初衷
文章作者:
yue0211
文章連結:
https://yue0211.github.io/post/secret/
版權聲明:
本部落格所有文章除特別聲明外,均採用
CC BY-NC-SA 4.0
授權協議。轉載請註明來源
記錄程式的地方
!
上一篇
Quick Select
Quick Select 找 K-th element 時間複雜度: 平均 O(N) 目標123456 pivotS S S O O L L L L LS: 小於 pivot 的數O: 等於 pivot 的數L: 大於 pivot 的數 過程123456S S S O O X X X X L L L L L i t ji: 指向 S 的後一個數j: 指向 L 的前一個數t: 指向未知的數 分堆後123456S S S O O O L L L L La i j bif(b-j >= k) => find k-th largest in [L]else if(b-i+1 >= k) => k-th largest is pivotelse => find "k-(b-i+1) th" largest in [S] 程式12345678910111213141516171819202122232425int...
下一篇
Set Hexo Theme ButterFly
Set Hexo Environment Link To Github參考連結 Set Butterfly Environmentversion 5.2.2參考連結參考連結 Use Search in Blognote: 用太新的 Butterfly Theme 會出錯 1npm install hexo-generator-search --save 123456# 修改: _config.butterfly.ymlsearch: # Choose: algolia_search / local_search / docsearch # leave it empty if you don't need search use: local_search placeholder: 參考連結 Music in BlogNetease ApiNetease Music參考連結參考連結 Local123456789101112131415161718192021222324252627282930313233343536373839#...
評論
yue0211
留下痕跡
文章
11
標籤
11
分類
6
Follow
公告
For Leetcode Practice
目錄
1.
瀞瀞北鼻你的信在這裡~~~
最新文章
Leetcode-30-Substring with Concatenation of All Words
2024-12-09
How to build website on Docker with wordpress backup file
2024-12-08
Leetcode-18-4Sum
2024-12-07
Leetcode-16-3Sum-Closest
2024-12-07
Leetcode-15-3Sum
2024-12-06
搜尋
資料載入中