This page moved to https://balasubramanyamlanka.com/blog/leetcode-question-1342-number-of-steps-to-reduce-a-number-to-zero-my-simple-solution/.