LeetCode 581. Shortest Unsorted Continuous Subarray
每日題。題號這麼前面,我竟然沒有做過,這題其實也挺好玩的。
每日題。題號這麼前面,我竟然沒有做過,這題其實也挺好玩的。
二分搜學習計畫。雖然我覺得heap是比較好的解法。
二分搜學習計畫。有點像是陣列的更新紀錄,又或是整個陣列的差分陣列。
二分搜學習計畫。這題超麻煩,根本就是在考數學公式。
周賽291。苦思久等的DP終於來了,結果想不出轉移方程式,又是三題幫。 看到測資10^5還是不信邪的用bitmask做O(N^2),只通過62/76測資。