0625. Minimum Factorization
https://leetcode.com/problems/minimum-factorization
Description
Given a positive integer num, return the smallest positive integer x
whose multiplication of each digit equals num
. If there is no answer or the answer is not fit in 32-bit signed integer, return 0
.
Example 1:
Example 2:
Constraints:
1 <= num <= 231 - 1
ac
Last updated