Find the Punishment Number of an Integer

mediumSolve on LeetCodeLast edited: August 2, 2025