The first value for the test case is 24 which makes (only) the first node value wrong, the rest of the values are correct in that test case are fine. I printed it to make sure. Please advise.
I have the same problem in Swift!
I’m running into the same issue - the test case is saying that 95-24 = -71 instead of +71. It’s incorrect.