Topic: Array Problem / Level: intermediate

Problem: Check if an array can be rearranged into a palindrome by reversing at most one subarray.

Run the code to see the output here...