Topic: Array Problem / Level: intermediate

Problem: Rearrange an array such that the sum of the first half is smaller than the sum of the second half.

Run the code to see the output here...