Leetcode 2571. Minimum Operations to Reduce an Integer to 0 | Hello Interview