You are given an integer array nums.
Find the smallest index i such that the sum of the digits of nums[i] is equal to i.
Return the smallest such index i. If no such index exists, return
Constraints:
nums.length
nums[i]
You are given an integer array nums.
Find the smallest index i such that the sum of the digits of nums[i] is equal to i.
Return the smallest such index i. If no such index exists, return
Constraints:
nums.length
nums[i]