Dell Technologies interview question

It is the same one from leetcode. It is "Add Digits".