Merge Operations to Turn Array Into a Palindrome
Two pointers grow equal-sum end groups; the smaller group merges with its neighbour until the sums match.
Two pointers grow equal-sum end groups; the smaller group merges with its neighbour until the sums match.