Topic: Array Problem / Level: intermediate

Problem: Check if the array can be rearranged such that all even-indexed elements are greater than the odd-indexed elements.

Run the code to see the output here...