AT&T interview question

Add two numbers LeetCode problem.