From the example it is not clear if "1 -> 2 -> 3" means 123 or 321, because that particular example sums to the same value either way. It also doesn't specify if the answer should be in the same "reverse" order. I spent quite a bit of time coding an algorithm for the "wrong" which is much harder. Only to find out that it doesn't work outside the example given.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.