How to check if integer array is spiral sorted? : <p>Spiral Sort Involves: a[0] &lt;= a[n-1] &lt;= a[1] &lt;= a[n-2] &lt;= a[2]....
How would i check if a given array is spiral sorted or not?</p>

<p>I have tried this the brute force way.</p>
