Recent posts

LeetCode 2262. Total Appeal of A String

周賽291。苦思久等的DP終於來了,結果想不出轉移方程式,又是三題幫。 看到測資10^5還是不信邪的用bitmask做O(N^2),只通過62/76測資。