Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3348. Smallest Divisible Digit Product II
Find the smallest zero-free decimal string >= num whose digits' product is divisible by t. The core challenge is combining digit-DP/greedy with number-theoretic factorization of t (tracking required prime exponents contributed by digits 1–9) to efficiently search the minimal feasible number under large lengths and t up to 1e14.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.