Topic: Array Problem / Level: intermediate

Problem: Check if an array can be rearranged into a palindrome by swapping adjacent elements.

Run the code to see the output here...