Leetcode 3437Given an integer n, an alternating permutation is a permutation of the fir...
Leetcode 3437Given an integer n, an alternating permutation is a permutation of the fir...
1432. 改變一個(gè)整數(shù)能得到的最大差值[https://leetcode.cn/problems/max-difference-you-can-get-from-chang...
3433. 統(tǒng)計(jì)用戶被提及情況[https://leetcode.cn/problems/count-mentions-per-user/]今天試了下deepseek,我把題...
1513. 僅含 1 的子串?dāng)?shù)[https://leetcode.cn/problems/number-of-substrings-with-only-1s/]
1685. 有序數(shù)組中差絕對(duì)值之和[https://leetcode.cn/problems/sum-of-absolute-differences-in-a-sorted-...
2521. 數(shù)組乘積中的不同質(zhì)因數(shù)數(shù)目[https://leetcode.cn/problems/distinct-prime-factors-of-product-of-a...
2761. 和等于目標(biāo)值的質(zhì)數(shù)對(duì)[https://leetcode.cn/problems/prime-pairs-with-target-sum/]
昨天班組聚餐,喝完酒,胃里那是翻江倒海,然后睡了一覺(jué)。詳見(jiàn)Leetcode 1577 (羨慕Python模擬都可以過(guò))[http://www.reibang.com/p/8...
今晚班組聚餐,喝了半斤白酒后辉阶,我居然靠模擬做出一道Leetcode中等題,紀(jì)念一下1577. 數(shù)的平方等于兩數(shù)乘積的方法數(shù)[https://leetcode.cn/probl...
快過(guò)年了欧啤,終于把能做的都做了睛藻。1567. 乘積為正數(shù)的最長(zhǎng)子數(shù)組長(zhǎng)度[https://leetcode.cn/problems/maximum-length-of-subar...
1561. 你可以獲得的最大硬幣數(shù)目[https://leetcode.cn/problems/maximum-number-of-coins-you-can-get/]
本來(lái)被動(dòng)態(tài)規(guī)劃的標(biāo)簽嚇退了邢隧,又被數(shù)學(xué)救了回來(lái)店印,高興。396. 旋轉(zhuǎn)函數(shù)[https://leetcode.cn/problems/rotate-function/]
Leetcode 3422 (就差那么一點(diǎn))[http://www.reibang.com/p/29aba74f1e87]462. 最小操作次數(shù)使數(shù)組元素相等 II[htt...
3422. 將子數(shù)組元素變?yōu)橄嗟人璧淖钚〔僮鲾?shù)[https://leetcode.cn/problems/minimum-operations-to-make-subarr...
817. 鏈表組件[https://leetcode.cn/problems/linked-list-components/]這題是語(yǔ)文題倒慧,讀懂題意即可 725. 分隔鏈表[...
溫習(xí)滑動(dòng)窗口老題按摘,感覺(jué)很有意思209. 長(zhǎng)度最小的子數(shù)組[https://leetcode.cn/problems/minimum-size-subarray-sum/]
沒(méi)想到今天還有會(huì)做的題848. 字母移位[https://leetcode.cn/problems/shifting-letters/]
2150. 找出數(shù)組中的所有孤獨(dú)數(shù)字[https://leetcode.cn/problems/find-all-lonely-numbers-in-the-array/]雖...