LeetCode 2318. Number of Distinct Roll Sequences
雙周賽81。一眼就知道是DP,但想不出轉移方程,剛開始還把間隔搞錯,沒有及時寫出來。
雙周賽81。一眼就知道是DP,但想不出轉移方程,剛開始還把間隔搞錯,沒有及時寫出來。
雙周賽81。超級腦筋急轉彎,想了一陣子才做出來,但終究是走了遠路。
雙周賽81。最近的Q2難度真的明顯上升,這次也卡掉不少人。看到有人用並查集來做,超級殺雞用牛刀。
雙周賽81。這題還滿有趣的,看了他人解法才發現我的比較不同,其實我的解法應該比較好想到才對,怎麼都沒人這樣做。
每日題。八點起床寫扣的感覺真好。題目的deci-binary還真難想到對應的中文翻譯,就算只看英文其實也是滿模糊的。