TROOT - Editorial

The solutions provided are both wrong for this example 5 4 1 2 2 3 2 4 4 5 + 1 3 + 3 5 - 1 3 - 3 5
Answers should be 3 3 15 60.

//