DSA Advanced Problems

Minimum Moves to Make Array Complementary

Values are paired from the two ends of an even-length array; a move replaces one value with any integer from 1 to the limit; return the fewest moves that give every pair the same sum.