Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 149 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 149 Bytes

An easy dynamic programming problem.

dp[i] means the ith ugly number, and dp[i]*2, dp[i]*3, dp[i]*5 are also ugly numbers.. think it over