herrDeng網內搜尋
自訂搜尋
Ads
2026年5月16日 星期六
2026年5月12日 星期二
Python 1 liner 0ms速解Leetcode 2553 separate digits
#Python 1 liner 0ms速解#leetcode 2553 separate digits
#1line
C++解法不用string,直接用div極速版本請見:
2026年5月10日 星期日
2026年5月9日 星期六
2026年5月8日 星期五
LeetCode 3629 | Prime Teleportation | Fast BFS + Sieve (Beats 100%)
Sieve BFS解Leetcode 3629 Minimum Jumps to Reach End via Prime Teleportation
目前記錄為83ms. Using array version of linked lists it 's faster, say 64ms!為何結合Sieve法與BFS的問題。會被Leetcode標示為medium?
幾個100%的解
2026年5月6日 星期三
Master LeetCode 1861 | Efficient Loop Strategy for Rotating the Box | Beats 100%
C++ C Py3 loop速解Leetcode 1861 Rotating the Box
一連數日Leetcode都是"rotate"的問題,這些問題都解完了嗎?先解今天的
2026年5月1日 星期五
訂閱:
文章 (Atom)
熱門文章
-
明文=I'm student key=(2,15,8) 密文=?
-
C字串練習 字串 char word[]="You win!"; 輸出為: You win! You win You wi You w You You Yo Y 給進階使用者: gets () 是個危險的函式!
-
請用C/C++ 程式計算 S=1*1+2*2+3*3+4*4+.....+20*20=?
-
計算你的BMI
-
array ex 1, 2,3,7,8
-
GCD(123456789,345634567)=?
-
請問如何用C/C++程式產生下列輸出? 1111111 2222222 3333333 4444444 5555555 6666666 7777777