https://leetcode.com/problems/ugly-number-ii/discuss/69373/Short-and-O(n)-Python-and-C%2B%2B
這竟然有O(N)解,超酷
但我覺得直接sort也很讚~