Topic: Array Problem / Level: intermediate

Problem: Check if it is possible to sort an array into non-decreasing order by reversing at most one subarray.

Run the code to see the output here...