Rosetta Problems

Smallest Index With Digit Sum Equal to Index

https://leetcode.com/problems/smallest-index-with-digit-sum-equal-to-index