mirror of
https://github.com/ShusenTang/LeetCode.git
synced 2024-09-02 14:20:01 +00:00
add title
This commit is contained in:
parent
a6e8385fd5
commit
d81cc96c18
@ -1,3 +1,4 @@
|
||||
# [264. Ugly Number II](https://leetcode.com/problems/ugly-number-ii/)
|
||||
# 思路
|
||||
要求第n个ugly数. 由于ugly集合相对于整个int集合是很小的, 所以此题用蛮力法不断判断某个数是否ugly肯定会超时. 所以我们应该从直接构造ugly数着手.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user