[Python筆記] 劍指offer刷題記錄——進度75/75

劍指offer刷題記錄 LeetCode上的劍指offer題 刷題ingjava 49. 醜數 #1.dp_轉化成數組合並問題,用上個狀態的數 class Solution: def nthUglyNumber(self, n: int) -> int: #醜數的規律,從前向後看,每一個數都是前邊的乘以2,3,5獲得的 #三指針:三個有序數組(*2,*3,*
相關文章
相關標籤/搜索