Frage im Vorstellungsgespräch bei Bloomberg

Question about linked list and adding numbers. from leetcode