989. Add to Array-Form of Integer
https://leetcode.com/problems/add-to-array-form-of-integer/
Python
class Solution:
def addToArrayForm(self, num: List[int], k: int) -> List[int]:
pow = 0
while num:
k += num.pop() * (10**pow)
pow += 1
return [int(char) for char in str(k)]