Topic: Array Problem / Level: intermediate

Problem: Check if an array can be rearranged such that the sum of elements at even indices is smaller than the sum of elements at odd indices.

Run the code to see the output here...