LeetCode 3191. Minimum Operations to Make Binary Array Elements Equal to One I June 23, 2024 雙周賽 133。
LeetCode 3190. Find Minimum Operations to Make All Elements Divisible by Three June 23, 2024 雙周賽 133。
LeetCode 3187. Peaks in Array June 16, 2024 周賽 402。又是線段樹題,這次我有把樹搞出來,但是題目查詢的地方沒想通,又繞了大遠路去搞 sorted list。 除了思路有點障礙之外,寫得還很醜,真的差點沒寫出來。
LeetCode 3186. Maximum Total Damage With Spell Casting June 16, 2024 周賽 402。相似題 740. delete and earn。 根據原題搞了奇怪的寫法,浪費不少時間。