Maximum Score of a Split
Split nums into a nonempty prefix and suffix. The score is the prefix sum minus the smallest suffix value; keep the best split.
Split nums into a nonempty prefix and suffix. The score is the prefix sum minus the smallest suffix value; keep the best split.