Bloomberg Interview Question

Question about linked list and adding numbers. from leetcode