add title

This commit is contained in:
ShusenTang 2019-11-14 20:13:14 +08:00 committed by GitHub
parent a6e8385fd5
commit d81cc96c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
# [264. Ugly Number II](https://leetcode.com/problems/ugly-number-ii/)
# 思路
要求第n个ugly数. 由于ugly集合相对于整个int集合是很小的, 所以此题用蛮力法不断判断某个数是否ugly肯定会超时. 所以我们应该从直接构造ugly数着手.