Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 728. Self Dividing Numbers
Generate all numbers in [left, right] whose nonzero digits each divide the number itself; for each candidate, iterate its digits, reject if any digit is 0 or number % digit != 0. Constraints are small (right ≤ 10^4), so a direct per-number digit check is sufficient.
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.